Re: [R] POSIXct bug for conversion of specific combinations of date and time

2013-08-26 Thread Jeff Newmiller
I deal with non-daylight-savings time data all the time using Windows with its system time set to daylight time. Sys.setenv(TZ="Etc/GMT+4") sets the zone for the R process only and does not affect the system time settings. Using this method lets me handle data from all around the world, with or

Re: [R] POSIXct bug for conversion of specific combinations of date and time

2013-08-25 Thread Jeff Newmiller
There have been a couple of threads recently on proper usage of POSIXct. I suggest you read the archives. After you read the archives: In your case, you don't seem to have zone offset data in your time info, so you probably need to use Sys.setenv to set an appropriate default time zone. The NA

Re: [R] POSIXct bug for conversion of specific combinations of date and time

2013-08-25 Thread arun
2:23 AM Subject: Re: [R] POSIXct bug for conversion of specific combinations of date andtime HI, Couldn't reproduce the problem.  I am using R 3.0.1. time$convert<-as.POSIXct(paste(time[,1],time[,2]),format="%Y/%m/%d %H:%M:%S")  time date hour c

Re: [R] POSIXct bug for conversion of specific combinations of date and time

2013-08-25 Thread arun
yr_1.8    tools_3.0.1 - Original Message - From: Carlos André Zucco To: r-help@r-project.org Cc: Sent: Sunday, August 25, 2013 2:21 PM Subject: [R] POSIXct bug for conversion of specific combinations of date and time Hello everyone, I'm having a big trouble with which seems to be

[R] POSIXct bug for conversion of specific combinations of date and time

2013-08-25 Thread Carlos André Zucco
Hello everyone, I'm having a big trouble with which seems to be a bug in as.POSIXct() date-time conversion. I have massive GPS datasets in which each location has it's own date and time attribute. As I convert them to POSIXct format, 1300 cases (of about half a million locations) simply return NA