[Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)

Simon Urbanek simon.urbanek at r-project.org
Sun Feb 1 20:25:02 CET 2009


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'
>



More information about the R-devel mailing list