From simon.urbanek at r-project.org  Sun Feb  1 20:25:02 2009
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Sun, 1 Feb 2009 14:25:02 -0500
Subject: [Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)
In-Reply-To: <20090201185014.59DBD282EF48@mail.pubhealth.ku.dk>
References: <20090201185014.59DBD282EF48@mail.pubhealth.ku.dk>
Message-ID: <4D1BBAD9-92CC-4BF1-9432-C6A39ECBE621@r-project.org>

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



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