Re: [Rd] Patch for setwd() to show path in error message

2013-01-11 Thread Prof Brian Ripley
On 11/01/2013 20:22, Henrik Bengtsson wrote: Below is a patch for setwd() to show path in error message. Current it just gives error messages such as: Error in setwd(libdir) : cannot change working directory with the patch it should (read untested) give: Error in setwd(libdir) : cannot change

[Rd] Patch for setwd() to show path in error message

2013-01-11 Thread Henrik Bengtsson
Below is a patch for setwd() to show path in error message. Current it just gives error messages such as: Error in setwd(libdir) : cannot change working directory with the patch it should (read untested) give: Error in setwd(libdir) : cannot change working directory to 'path/that/fails/' PATC

Re: [Rd] .print.via.format not found when building r61617?

2013-01-11 Thread Ben Bolker
On 13-01-11 12:59 PM, Ben Bolker wrote: > I wouldn't be at all surprised if I turned out to be doing something > boneheaded, but I've *tried* to follow all the relevant rules ... > Based on a clean SVN checkout of R-devel r61617, building in a > separate directory, I end up with > > Error in eva

Re: [Rd] Date time conversion bug (as.POSIXct)?

2013-01-11 Thread Simon Urbanek
On Jan 11, 2013, at 5:12 AM, Dries Verheyen wrote: > There is something wrong, I think, with the date-time conversion from a > numeric value if you use Central European Time (CET) as timezone. > Examples from R: > > If I use the GMT time zone it is OK, I get the same time back from > as.POSIXct a

[Rd] .print.via.format not found when building r61617?

2013-01-11 Thread Ben Bolker
I wouldn't be at all surprised if I turned out to be doing something boneheaded, but I've *tried* to follow all the relevant rules ... Based on a clean SVN checkout of R-devel r61617, building in a separate directory, I end up with Error in eval(expr, envir, enclos) : object '.print.via.format'

[Rd] Date time conversion bug (as.POSIXct)?

2013-01-11 Thread Dries Verheyen
There is something wrong, I think, with the date-time conversion from a numeric value if you use Central European Time (CET) as timezone. Examples from R: If I use the GMT time zone it is OK, I get the same time back from as.POSIXct as I entered > as.POSIXct(as.numeric(strptime("30/01/2012 13:00: