Re: [Rd] R devel [and R 2.14.1 patched]: R CMD build now sources ~/.Rprofile

From: Henrik Bengtsson <hb_at_biostat.ucsf.edu>
Date: Thu, 23 Feb 2012 00:14:58 -0800


I'd like to follow up on this one. It may be that I have misunderstood something, but on both R devel (2012-02-22 r58452) and R 2.14.1 patched (2012-02-18 r58394) I can't seem to avoid loading ~/.Rprofile when I run 'R CMD <cmd>', e.g. R CMD build. For me, the loading of ~/.Rprofile by 'R CMD' started a few weeks ago, and I haven't seen it before. More details below. It seems incorrect that for instance 'R CMD check' should load the users ~/.Rprofile file by default. Is this a bug or intended?

/Henrik

On Wed, Feb 8, 2012 at 5:31 PM, Henrik Bengtsson <hb_at_biostat.ucsf.edu> wrote:
> I've just noticed that with a recent R devel on Windows, R CMD build
> sources ~/.Rprofile, e.g.
>
>> RCMD build
> Running ~/.Rprofile
>
>> R CMD build
> Running ~/.Rprofile
>
> FYI R --no-init-file & R --vanilla still avoid this.
>
>> sessionInfo()
> R Under development (unstable) (2012-02-08 r58297)
> Platform: x86_64-pc-mingw32/x64 (64-bit)
>
> locale:
> [1] LC_COLLATE=English_United States.1252
> [2] LC_CTYPE=English_United States.1252
> [3] LC_MONETARY=English_United States.1252
> [4] LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>>
>
> /Henrik



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 23 Feb 2012 - 08:17:49 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Fri 24 Feb 2012 - 05:30:20 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