Skip to content
Prev 4540 / 398498 Next

R installation

On Wed, 16 Feb 2000 Brian.O'Gorman at noaa.gov wrote:

            
All I do to run R from the directory tree in which I unpacked is to
link /export/trichodon2/R/R-0.99.0a/bin/R to somewhere in my path. That is,
I do not set R_HOME and I do not `make install'.  Setting R_HOME will
just cause confusion if there is more than one copy of R around: the 
`R' scripts sets it as required. As an example:

./configure
make
ln -s /export/trichodon2/R/R-0.99.0a/bin/R ~/bin
[optionally, make clean]

You only need to `install' to move the operational parts of the built
sources somewhere else. To install a stable version for public use, I use,
e.g.

./configure --prefix=/packages/R/0.99.0a
make
make install
ln -s /packages/R/0.99.0a/bin/R /usr/local/bin

and then remove the directory in which I unpacked.

In each case `rehash' (I use tcsh/csh) and `R' runs R.