Generally, building R from source and installing it into your homedirectory is quite easy (I do this too at work). The procedure roughly boils down to the following procedure:
- create a directory in which you want to install R, e.g.
~/progsandlibs/. You can also use this directory for all other custom software you install.
- Download R from CRAN.
- Extract the
tar.gz file you downloaded using tar
- Go into the
R-2.15.2 directory.
- Give the following commands:
./configure --prefix=~/progsandlibs/ --enable-R-shlib
make
make install
- Add
~/progsandlibs/bin/ to your PATH environment variable. Easiest is to add a line to your .bashrc: export PATH=~/progsandlibs/bin/:$PATH.
If all the steps above worked correctly, you have R installed, and you can start it from your terminal.