[R] POSIXlt error

Erik Iverson eriki at ccbr.umn.edu
Wed Jul 14 04:24:08 CEST 2010


Do you care to share your sessionInfo() , as the Posting Guide asks?

I cannot reproduce on:

R version 2.11.1 (2010-05-31)
i486-pc-linux-gnu


On 07/13/2010 09:07 PM, Ian Seow wrote:
> Hi, I'm encountering a strange error in POSIXlt... anyone got a clue on
> this?
>
>> 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"
>> as.POSIXlt("1962-01-01")
> [1] "1962-01-01"



More information about the R-help mailing list