andreas.fischlin at env.ethz.ch
2009-Feb-01 18:50 UTC
[Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)
Full_Name: Andreas Fischlin Version: 2.8.1 OS: Mac OS X 10.5.6 Submission from: (NULL) (84.75.178.229) R.home() returns "/Library/Frameworks/R.framework/Resources" although there is no such directory present. Inspecting the actual directory structure of the R installation indicates that the correct value R.home() should contain is: '/Library/Frameworks/R.framework/Versions/2.8/Resources' Detected by af, ETH Zurich / 1.Feb.2009 using R 2.8.1 under Mac OS X 10.5.6
On Feb 1, 2009, at 1:50 PM, andreas.fischlin at env.ethz.ch wrote:> Full_Name: Andreas Fischlin > Version: 2.8.1 > OS: Mac OS X 10.5.6 > Submission from: (NULL) (84.75.178.229) > > > R.home() returns "/Library/Frameworks/R.framework/Resources" > although there is > no such directory present.Then your installation is broken. You should re-install R to fix your installation. In R 2.8.1: fino:~$ file /Library/Frameworks/R.framework/Resources /Library/Frameworks/R.framework/Resources: directory This is true for all R installations from CRAN as well as all custom installations with framework enabled (default on OS X). Cheers, S> Inspecting the actual directory structure of the R > installation indicates that the correct value R.home() should > contain is: > '/Library/Frameworks/R.framework/Versions/2.8/Resources' >
Prof Brian Ripley
2009-Feb-01 19:34 UTC
[Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)
It is present on my system (R reinstalled yesterday), so it looks like you broke yours. More precisely, there is a link at /Library/Frameworks/R.framework/Resources to the correct place. How did you think R could possibly work with this broken? R.home() is used all over the place in R's own scripts. On Sun, 1 Feb 2009, andreas.fischlin at env.ethz.ch wrote:> Full_Name: Andreas Fischlin > Version: 2.8.1 > OS: Mac OS X 10.5.6 > Submission from: (NULL) (84.75.178.229) > > > R.home() returns "/Library/Frameworks/R.framework/Resources" although there is > no such directory present. Inspecting the actual directory structure of the R > installation indicates that the correct value R.home() should contain is: > '/Library/Frameworks/R.framework/Versions/2.8/Resources' > > Detected by af, ETH Zurich / 1.Feb.2009 using R 2.8.1 under Mac OS X 10.5.6 > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Seemingly Similar Threads
- image() generates many border lines in pdf, not on screen (quartz) - R 2.9.1 GUI 1.28 Tiger build 32-bit (5444) - OS X 10.5.8
- Trouble installing packages on Macintosh OS-X 10.5.6
- Fontconfig warning with X11() on MAC OS X 10.4
- Using JRI and Java 1.6 on MAC OS X
- crash after using graphics in Rcmdr (PR#13679)