Re: [R] lubridate concatenation issue

2012-11-16 Thread arun
ven if they are all marked with the same time zone). So, may be assigning attr(x,"tzone") may be best method A.K. - Original Message - From: Peter Ehlers To: arun Cc: Andre Zege ; R help Sent: Friday, November 16, 2012 11:26 AM Subject: Re: [R] lubridate concatenation issue O

Re: [R] lubridate concatenation issue

2012-11-16 Thread Peter Ehlers
ong as his further operations do not depend on the presence of that attribute. Peter Ehlers - Original Message - From: Andre Zege To: "r-help@r-project.org" Cc: Sent: Thursday, November 15, 2012 9:36 PM Subject: [R] lubridate concatenation issue I took a look at Hadley

Re: [R] lubridate concatenation issue

2012-11-16 Thread arun
HI, Sys.setenv(TZ="GMT")  c(d) #[1] "2011-12-31 GMT" #or Sys.setenv(TZ="UTC")  c(d) #[1] "2011-12-31 UTC" Hope it helps. A.K. - Original Message - From: Andre Zege To: "r-help@r-project.org" Cc: Sent: Thursday, November 15, 2012

Re: [R] lubridate concatenation issue

2012-11-15 Thread Peter Ehlers
On 2012-11-15 18:36, Andre Zege wrote: I took a look at Hadley's lubridate which seems a very neat package, but i am having a small problem with concatenating lubridates to build vectors of it. Namely when function c( ) is applied to lubridate seems to change time to a local timezone in this

[R] lubridate concatenation issue

2012-11-15 Thread Andre Zege
I took a look at Hadley's lubridate which seems a very neat package, but i am having a small problem with  concatenating lubridates to build vectors of it. Namely when function c( )  is applied to lubridate seems to change time to a local timezone in this particular case changing the date to pre