Thursday, February 18, 2010

R installing on Unix/Linux - no root access

R installing on Unix/Linux - no root access

I am luck to get hints from  http://onertipaday.blogspot.com/2008/04/r-installing-on-unixlinux-no-root.html


1. downloaded the tar.gz of the development version of R from
ftp://ftp.stat.math.ethz.ch/Software/R/
2. uncompress it to a directory you have write access to, say ~/R
3. change into the uncompressed directory, eg ~/R/R-2.10.1
4. run "./configure"
5. run "make"
Afterwards you can start R by executing ~/R/R-devel/bin/R;
to simplify that either add the bin directory to your path or create an alias for R
You do not need to run "make install" to work with R.
to install packages,

~/R/R-2.101.1/bin/R CMD INSTALL pkg.gz -l ~/R/R-2.10.1/library/