[R] conversion of string

uday uday_143_4u at hotmail.com
Mon Jan 23 09:35:34 CET 2012


I new in R programming language. 

I have some time data  

time
 [1] "2005-01-03 05:11:39 UTC" "2005-01-03 06:36:02 UTC" "2005-01-03
06:36:55 UTC"
 [4] "2005-01-03 06:37:00 UTC" "2005-01-03 06:38:04 UTC" "2005-01-03
06:38:04 UTC"
 [7] "2005-01-03 06:38:04 UTC" "2005-01-03 06:38:04 UTC" "2005-01-03
06:38:05 UTC"
[10] "2005-01-03 06:38:05 UTC" "2005-01-03 06:38:05 UTC" "2005-01-03
06:38:05 UTC"

from this data set I would like to separate Year Month Day Hour Minute
Second 

could you please tell which command can separate this data to the format
which I needed?



--
View this message in context: http://r.789695.n4.nabble.com/conversion-of-string-tp4320127p4320127.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list