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

From: Duncan Murdoch <>
Date: Mon 30 Oct 2006 - 21:44:58 GMT

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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue Oct 31 15:48:02 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 31 Oct 2006 - 09:30:14 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.