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
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,
I noticed that R 2.7.0 will have as.Date.numeric with a second
non-optional origin argument. Frankly I would prefer that it default
to the Epoch since its a nuisance to specify but at the very least
I think that .Epoch should be provided as a builtin variable.