[Rd] Bug with .First in R 2.10

Duncan Murdoch murdoch at stats.uwo.ca
Tue Oct 20 15:04:17 CEST 2009


On 10/18/2009 6:20 PM, Mark.Bravington at csiro.au wrote:
> Under R2.10.0 beta (2009-10-14 r50082) my .First does not run reliably. I reported this last week, but not reproducibly, and it seemed to go away, so I thought it might be installation-related. But it has now recurred reproducibly, at least on my machine.
> 
> The website ftp://ftp.csiro.au/MarkBravington contains two .RData files each containing (only) a .First. One of them does what it should, and one of them doesn't. Confusingly, the OK one will actually trigger an error message for you, because it tries to do things that are specific to my machines. The not-OK one says "skipping .First", as below, and you'll see why it shouldn't be doing that. Obvioulsy, the files need renaming before you can test them.
> 
> I haven't been able to condense the .First to something more succinct that shows the same fault; saving a modified .First frequently makes the problem go away, seemingly regardless of what the change is.
> 
> The transcript from the not-OK version is given below

Luke Tierney tracked this down and fixed it.  It's actually a fairly old 
bug, but was being masked by another; when he fixed the other one in 
September, this one started to manifest itself.

It should be okay in RC builds newer than r50178 (which should show up 
by tomorrow on most platforms).

Thanks for making this reproducible!

Duncan Murdoch



More information about the R-devel mailing list