[R] .Rprofile is being executed twice
Duncan Murdoch
murdoch at stats.uwo.ca
Sat May 3 00:39:41 CEST 2008
On 02/05/2008 4:24 PM, Dan Tenenbaum wrote:
> Hi,
>
> After updating to R 2.7, my .Rprofile executes twice on startup. I
> confirmed this by putting in the following line:
> print("starting .Rprofile...")
>
> When I start R, I see:
> [1] "starting .Rprofile..."
> [1] "starting .Rprofile..."
>
> This seems like the obverse of the following FAQ:
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-did-my-_002eRprofile-stop-working-when-I-updated-R_003f
>
> But in my case .Rprofile is working, just working twice as much as it
> should.
>
> Even if there is nothing in my .Rprofile except that print() statement,
> it still executes twice.
>
> What could be causing this?
It doesn't for me, so I think we need more details, such as
sessionInfo(), and exactly where you put your .Rprofile, and how you
started R.
Duncan Murdoch
More information about the R-help
mailing list