Re: [Rd] as.Date.numeric origin default

2008-01-03 Thread Tony Plate
Seems like it makes sense to have a default origin of 1970-01-01 for as.Date.numeric(). Are there any strong arguments for requiring users to specify the origin for every invocation of as.Date.numeric()? The code could be: as.Date.numeric - function(x, origin=1970-01-01, ...) { if

[Rd] as.Date.numeric origin default

2007-12-30 Thread Jeff Ryan
R-devel, I would like to second Gabor Grothendieck's request from September ( http://www.nabble.com/as.Date.numeric-to12962733.html#a12962733 ) on adding a default value (1970-01-01) to the origin argument of as.Date.numeric. I realize there is good reason to allow for origin to be specified,