3:29 PM
To: Ian Seow
Cc: r-help@r-project.org
Subject: Re: [R] POSIXlt error
Check out your timezone. Did something change on that day?
You omitted the time, so it is trying to make sense of
"1982-01-01 00:00"
According to
http://en.wikipedia.org/wiki/Singapore_Standard_Time
that t
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 versio
.org
Subject: Re: [R] POSIXlt error
Check out your timezone. Did something change on that day?
You omitted the time, so it is trying to make sense of
"1982-01-01 00:00"
According to
http://en.wikipedia.org/wiki/Singapore_Standard_Time
that time did not exist in that time zone (which
Check out your timezone. Did something change on that day?
You omitted the time, so it is trying to make sense of
"1982-01-01 00:00"
According to
http://en.wikipedia.org/wiki/Singapore_Standard_Time
that time did not exist in that time zone (which I am guessing is the
one your computer is se
Oops, sorry! Here it is:
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_Singapore.1252 LC_CTYPE=English_Singapore.1252
LC_MONETARY=English_Singapore.1252 LC_NUMERIC=C
[5] LC_TIME=English_Singapore.1252
attached base packages:
[1] grDevices datasets splines graph
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 i
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"
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"
> as.PO
8 matches
Mail list logo