Wolfgang RAFFELSBERGER
2011-Jul-18 10:23 UTC
[R-sig-Fedora] multiple installations of R (in Fedora)
Dear list, so far I installed new versions of R on top of the old one in default /linux/local/lib64 . For several reasons (mostly compatibility issues) I would like to change this and to keep older versions still functional/available. Furthermore this should allow to perform installing and testing completely independent of any user still using a precedent version of R, and the switch for users just wanting the latest version should work via changing a simple link. I've checked through the documents for installation (http://cran.r-project.org/doc/manuals/R-admin.html#Installation) and the R-FAQ (http://cran.r-project.org/doc/FAQ/R-FAQ.html) and the mailing list archive (http://tolstoy.newcastle.edu.au/R/about.html) for further information on this issue, but somehow I'm not getting this working ... However, I'm sure many of you might be doing somtyhing of this kind, so that's why I'm looking for your advice. I'm not sure if that matters, at this moment I still have fully another functional installation of R in (default) /linux/local/lib64 . So the place I'd like to install (and keep various versions of R) now/in the future is /linux/biolo/R_fedora/ where I have a copy of R-latest.tar (which is the version I'd like to install at this moment, later e.g. developer versions of R might be added as well) Here the steps I tried : tar -xvf R-latest.tar # then I go the directory that has been created : cd /linux/biolo/R_fedora/R-2.13.1/ ./configure --enable-R-shlib --prefix=/linux/biolo/R_fedora/R-2.13.1 # until here everything seems to work fine make here I get : make[1]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/m4' make[1]: Nothing to be done for `R'. make[1]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/m4' make[1]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tools' make[1]: Nothing to be done for `R'. ... make[1]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' installing parsed Rd make[3]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' WARNING: ignoring environment value of R_HOME base WARNING: ignoring environment value of R_HOME stats WARNING: ignoring environment value of R_HOME utils WARNING: ignoring environment value of R_HOME methods WARNING: ignoring environment value of R_HOME graphics WARNING: ignoring environment value of R_HOME grDevices WARNING: ignoring environment value of R_HOME datasets WARNING: ignoring environment value of R_HOME grid WARNING: ignoring environment value of R_HOME tools WARNING: ignoring environment value of R_HOME tcltk WARNING: ignoring environment value of R_HOME splines WARNING: ignoring environment value of R_HOME stats4 WARNING: ignoring environment value of R_HOME compiler make[3]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' building/updating package metadata ... make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' writing package indices make[3]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library' WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME WARNING: ignoring environment value of R_HOME make[3]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[1]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library' make[1]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library/Recommended' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/src/library/Recommended' make[2]: `stamp-recommended' is up to date. make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library/Recommended' make[1]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/src/library/Recommended' When I then try to go on with make check this will give : make[1]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tests' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tests' make[3]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tests/Examples' WARNING: ignoring environment value of R_HOME Testing examples for package 'base' ... Testing examples for package 'compiler' comparing 'compiler-Ex.Rout' to 'compiler-Ex.Rout.prev' ... OK make[3]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/tests/Examples' make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/tests' make[2]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tests' running strict specific tests make[3]: Entering directory `/linux/biolo/R_fedora/R-2.13.1/tests' running code in 'eval-etc.R' ... OK comparing 'eval-etc.Rout' to './eval-etc.Rout.save' ...WARNING: ignoring environment value of R_HOME 1d0 < WARNING: ignoring environment value of R_HOME make[3]: *** [eval-etc.Rout] Error 1 make[3]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/tests' make[2]: *** [test-Specific] Error 2 make[2]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/tests' make[1]: *** [test-all-basics] Error 1 make[1]: Leaving directory `/linux/biolo/R_fedora/R-2.13.1/tests' make: *** [check] Error 2 Do you have any ideas what I'm not getting right or what I could try next ? Is there a confusion between R_HOME of the already existing installation of R and how could I make the co-habit without interfering newer installations ? Thank's in advance, Wolfgang . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Wolfgang Raffelsberger, PhD IGBMC, 1 rue Laurent Fries, 67404 Illkirch Strasbourg, France wolfgang.raffelsberger (a t) igbmc.fr [[alternative HTML version deleted]]
Possibly Parallel Threads
- Error installing libraries (eg RODBC) on R-2.15.0 : cannot find 'config.log'
- (linux) display messages in R startup screen
- how to make a function recognize the name of an object/vector given as argument
- how to define PKG_CONFIG_PATH ?
- (minor) R syntax error in help page to the function makeCluster of library(snow)