Re: [R] POSIXlt error

2010-07-14 Thread Meissner, Tony (DFW)
, please advise by return e-mail or by telephoning +61 8 8595 2209 -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Prof Brian Ripley Sent: Wednesday, 14 July 2010 3:29 PM To: Ian Seow Cc: r-help@r-project.org Subject: Re: [R] POSIXlt

Re: [R] POSIXlt error for 1982-01-01

2010-07-14 Thread Paul Hiemstra
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

Re: [R] POSIXlt error -Oops

2010-07-14 Thread Meissner, Tony (DFW)
-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 time did not exist in that time zone

[R] POSIXlt error for 1982-01-01

2010-07-13 Thread Ian Seow
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

[R] POSIXlt error

2010-07-13 Thread Ian Seow
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

Re: [R] POSIXlt error

2010-07-13 Thread Erik Iverson
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

Re: [R] POSIXlt error

2010-07-13 Thread Ian Seow
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

Re: [R] POSIXlt error

2010-07-13 Thread Prof Brian Ripley
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 set