Skip to content
Prev 171938 / 398503 Next

Installing different versions of R simultaneously on Linux

This is really an R-devel question.
On Fri, 27 Feb 2009, Rainer M Krug wrote:

            
'R' is not an executable, but a shell script.

You can use 'prefix' to install R anywhere, or other variables for 
more precise control (see the R-admin manual).  For example, we use 
rhome to have R 2.8.x under /usr/local/lib64/R-2.8 etc.

And you can rename $prefix/bin/R to, say, R-2.7.2, or link 
R_HOME/bin/R to anywhere in yout path, under any name you choose.