Re: [R] split date nad time

2011-12-12 Thread threshold
Thanks for help. Ive already sorted this out. robert -- View this message in context: http://r.789695.n4.nabble.com/split-date-nad-time-tp4164191p4185788.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

Re: [R] split date nad time

2011-12-06 Thread R. Michael Weylandt
I can't replicate this: does it occur in a fresh R session (no GUI, just straight --vanilla)? If so, sessionInfo()? On Tue, Dec 6, 2011 at 11:23 AM, threshold wrote: > > ok, > >> dput(AggDateTime[960:962]) > structure(c(1314313140L, 1314313200L, 1314313260L), class = c("POSIXct", > "POSIXt"), tzo

Re: [R] split date nad time

2011-12-06 Thread threshold
ok, > dput(AggDateTime[960:962]) structure(c(1314313140L, 1314313200L, 1314313260L), class = c("POSIXct", "POSIXt"), tzone = "") -- View this message in context: http://r.789695.n4.nabble.com/split-date-nad-time-tp4164191p4165378.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] split date nad time

2011-12-06 Thread David Winsemius
On Dec 6, 2011, at 5:38 AM, threshold wrote: Dear R Users, given that: AggDateTime[960:962] [1] "2011-08-25 23:59:00 BST" "2011-08-26 00:00:00 BST" [3] "2011-08-26 00:01:00 BST" unlist(strsplit(as.character(AggDateTime[960])," ", fixed=TRUE)) [1] "2011-08-25" "23:59:00" unlist(strsplit

[R] split date nad time

2011-12-06 Thread threshold
Dear R Users, given that: > AggDateTime[960:962] [1] "2011-08-25 23:59:00 BST" "2011-08-26 00:00:00 BST" [3] "2011-08-26 00:01:00 BST" > unlist(strsplit(as.character(AggDateTime[960])," ", fixed=TRUE)) [1] "2011-08-25" "23:59:00" > unlist(strsplit(as.character(AggDateTime[962])," ", fixed=TRU