Hi,
Thanks for the reproducible example.
as.POSIXlt(1982-01-01)
works fine for me. You did not specify which OS, R version etc you are
using, which is requested by the posting guide. If you haven't done so
already, please upgrade R to the latest version, this might help.
My info:
R version
Hi, I am encountering a strange error in POSIXlt... anyone got a clue?
as.POSIXlt(1982-01-01)
Error in as.POSIXlt.character(1982-01-01) :
character string is not in a standard unambiguous format
as.POSIXlt(1992-01-01)
[1] 1992-01-01
as.POSIXlt(1972-01-01)
[1] 1972-01-01
2 matches
Mail list logo