Matthieu Stigler
2009-Dec-17 18:56 UTC
[R-sig-Debian] How to have multiple versions of R on Ubuntu 8.04
Hi I want to use a special package (openMx: http://openmx.psyc.virginia.edu/installing-openmx) that runs currently only on R 2.9 but I have R 2.10 installed (from CRAN). How can I do to have the two versions ( 2.9 and czrrent 2.10) running? Is there a trick with apt-get or should I compile 2.9 from the sources? And if yes, how can I specify a special path for R 2.9 so that by default 2.10 is used? Thanks a lot! Matthieu Stigler
Michael Rutter
2009-Dec-17 19:12 UTC
[R-sig-Debian] How to have multiple versions of R on Ubuntu 8.04
Matthieu, Have you tried installing it? We have just updated the versions of R on CRAN and maybe the bug the package website mentions have been fixed. In order to have multiple version of R installed, you will need to build the second version from source. Here are the details: http://cran.r-project.org/doc/manuals/R-admin.html#Installing-R-under-Unix_002dalikes You must be very careful to install R in a different location and have a different location for the lib files. Read carefully through the section of Unix-like systems to see which options you need to set. The good news is that you can always reinstall R 2.10 from apt-get or synaptic if the versions cross. Another option to consider is using a virtual machine (I use Virtual Box, which is open source) with the needed version of R on it. You can share data files between the host and virtual machine, if needed. Hope this helps, Michael Matthieu Stigler wrote:> Hi > > I want to use a special package (openMx: > http://openmx.psyc.virginia.edu/installing-openmx) that runs currently > only on R 2.9 but I have R 2.10 installed (from CRAN). > > How can I do to have the two versions ( 2.9 and czrrent 2.10) running? > Is there a trick with apt-get or should I compile 2.9 from the sources? > And if yes, how can I specify a special path for R 2.9 so that by > default 2.10 is used? > > Thanks a lot! > > Matthieu Stigler > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian-- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter