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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to