Re: [R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-07 Thread Winkler, Matthias
e: [R] Mistakes in date conversion for future date/time (POSIXct) I _do_ see this error - on R 3.0.3 / Win XP however, not on R 2.11.1 / Linux. (Same hardware, 2 x OS, 2 x R versions) Maybe it's peculiar to to 'doze... datetimesequenz <- seq.POSIXt(from=as.POSIXct("1960-01-01

Re: [R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-06 Thread David McPearson
I _do_ see this error - on R 3.0.3 / Win XP however, not on R 2.11.1 / Linux. (Same hardware, 2 x OS, 2 x R versions) Maybe it's peculiar to to 'doze... datetimesequenz <- seq.POSIXt(from=as.POSIXct("1960-01-01 00:00"), to=as.POSIXct("2100-01-01 00:00"), by="1 hour") levels(as.factor(strftime(dat

Re: [R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-04 Thread David Winsemius
On Apr 4, 2014, at 9:54 AM, Duncan Murdoch wrote: > On 04/04/2014 10:55 AM, Winkler, Matthias wrote: >> Dear R-users, >> >> I'm working on datasets which contain data from the years 1960 to 2100 with >> a timestep of one hour. Every year has 365 days, leap years are ignored. >> After reading th

Re: [R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-04 Thread Duncan Murdoch
On 04/04/2014 10:55 AM, Winkler, Matthias wrote: Dear R-users, I'm working on datasets which contain data from the years 1960 to 2100 with a timestep of one hour. Every year has 365 days, leap years are ignored. After reading the dataset with R I convert the column which contains date/time to

Re: [R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-04 Thread Rmh
high probability you are in a daylight savings time problem. see the archives for repair strategies. probably it will be enforcing standard time on all measurements. Rich Sent from my iPhone > On Apr 4, 2014, at 10:55, "Winkler, Matthias" > wrote: > > Dear R-users, > > I'm working on dat

[R] Mistakes in date conversion for future date/time (POSIXct)

2014-04-04 Thread Winkler, Matthias
Dear R-users, I'm working on datasets which contain data from the years 1960 to 2100 with a timestep of one hour. Every year has 365 days, leap years are ignored. After reading the dataset with R I convert the column which contains date/time to POSIXct: as.POSIXct(strptime(MyData [,1], format="