[R] Which executable is associated with R CMD INSTALL?

Duncan Murdoch murdoch at stats.uwo.ca
Mon Oct 30 22:44:58 CET 2006


On 10/30/2006 2:32 PM, Patrick Connolly wrote:
> I'm still having trouble installing the lme4 package on RHEL 3.  I've
> asked this list and it seems my problem is not universal.  Brian
> Ripley indicated that the problem was with recognising the Matrix
> package, even though I've taken care to get the most recent versions
> of Matrix and lme4.
> 
> It seems to me that the problem arises because the computer has a site
> installation of R-2.3.1 and I'm trying to use R-2.4.0 from my home
> directory.  I use a symbolic link (named R) to point to the 2.4.0
> executable.
> 
> The only problem I've encountered is installing the lme4 package, and
> I'm now guessing that R CMD INSTALL is not using my link, and defaults
> to the R-2.3.1.  Does my theory have any credibility?  I know it
> wouldn't explain why the other packages don't have a problem, but I'm
> scraping the bottom of the barrel now.

Try "R CMD printenv R_HOME" and you'll find which R home directory it is 
using.  You can see a lot more with "R CMD printenv" or various options 
to "R CMD config".

Duncan Murdoch



More information about the R-help mailing list