Re: [R] POSIXlt error -Oops

2010-07-14 Thread Meissner, Tony (DFW)
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

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 versio

Re: [R] POSIXlt error

2010-07-13 Thread Meissner, Tony (DFW)
this e-mail in error, 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

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 se

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 graph

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 i