Re: [Rd] R CMD INSTALL problem

From: John Fox <jfox_at_mcmaster.ca>
Date: Tue, 21 Oct 2008 20:21:06 -0400

Dear Deepayan,

Yes, that was it: My Rprofile.site file had initialization code in it produced by the Tinn-R editor; removing this code solved the problem (which didn't occur in R 2.7.2), as did enclosing it in if (interactive()){}.

Thank you very much for pointing me in the right direction.

John

> -----Original Message-----
> From: r-devel-bounces_at_r-project.org [mailto:r-devel-bounces_at_r-project.org]
On
> Behalf Of Deepayan Sarkar
> Sent: October-21-08 7:16 PM
> To: John Fox
> Cc: r-devel_at_r-project.org
> Subject: Re: [Rd] R CMD INSTALL problem
>
> On Tue, Oct 21, 2008 at 3:23 PM, John Fox <jfox@mcmaster.ca> 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
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed 22 Oct 2008 - 00:34:45 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 - 01:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive