Hi all,
I have recently started working with Date objects and find the
experience unsettling, to put it mildly.
The help for as.Date says, in part:
## S3 method for class 'character'
as.Date(x, format = , ...)
x: An object to be converted.
format: A character string. If
Never mind... the solution was to read the source code of
as.Date.character. It turns out the default format= is meaningless.
If 'format' is not given in the call to as.Date, it is NOT assumed to
be , and the function gives very different results from a call where
the argument format= is given.
2 matches
Mail list logo