Re: [R] as.Date() clarification

2008-07-03 Thread Martin Maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> > on Thu, 03 Jul 2008 12:07:41 +0200 writes: [..] PD> and the help page has the explanation. [..] PD> [By the way, there used to be a way to see the current help pages on the PD> web, but I can't remember how.

Re: [R] as.Date() clarification

2008-07-03 Thread Peter Dalgaard
Ron Michael wrote: > When I use the code as.Date(0) the I get : "1970-01-01". My question is why > it is like that? help file on as.Date seems to give no light on that. Can > anyone clarify me? > Which version of R is this? R version 2.7.1 (2008-06-23) ... > as.Date(0) Error in as.Date.numeri

Re: [R] as.Date() clarification

2008-07-03 Thread Achim Zeileis
On Thu, 3 Jul 2008, Ron Michael wrote: When I use the code as.Date(0) the I get : "1970-01-01". My question is why it is like that? help file on as.Date seems to give no light on that. Can anyone clarify me? In R, "Date" objects are stored internally as the number of days since 1970-01-01 (t