Re: [Rd] R CMD INSTALL problem

From: Deepayan Sarkar <>
Date: Tue, 21 Oct 2008 16:15:35 -0700

On Tue, Oct 21, 2008 at 3:23 PM, John Fox <> wrote:
> Dear list members,
> I've run into a problem with R CMD INSTALL under Windows Vista and R 2.8.0:
> --------- snip -----------
> C:\Users\John Fox\workspace>c:\R\R-2.8.0\bin\R CMD INSTALL car
> installing to ''

Not sure if this is relevant for you, but I was seeing similar behavior on Linux, and the reason turned out to be that the INSTALL script invokes

R_DEFAULT_PACKAGES=NULL R --no-restore --slave

which ran code in my .Rprofile, but without the usual packages attached. In my case, this was causing an error (because of not carefully written code in the profile) leading to an empty string for $lib (which seems to be happening for you too).

-Deepayan mailing list Received on Tue 21 Oct 2008 - 23:26:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 22 Oct 2008 - 06:30:23 GMT.

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

list of date sections of archive