[R] problem with data

RMSOPS ricardosousa2000 at clix.pt
Thu Mar 8 10:35:30 CET 2012


Hello

   In the variable x.sub$Time i have the many dates in format  2006-10-31
20:10:35 EST, for example when 
print (x.sub$Time) give this

[1] "2006-10-31 20:10:35 EST" "2006-10-31 20:11:08 EST" "2006-10-31 20:11:21
EST" "2006-10-31 20:12:16 EST"
 [5] "2006-10-31 20:13:20 EST" "2006-10-31 20:13:28 EST" "2006-10-31
20:15:18 EST" "2006-10-31 20:16:06 EST"

but when put in variable start the result in first position with code 
sart<-x.sub$Time[[1]], my goal by this code is save the 
result [1] "2006-10-31 20:10:35 EST".
   The problem is the variable start give me  "[1]  35  8 21 16 20 28 18  6
40 17 52 15 13 12 23 10 39 40" when the goal is is to keep the original
format  2006-10-31 20:10:35 EST.

  How solve this problem.


   Thanks



--
View this message in context: http://r.789695.n4.nabble.com/problem-with-data-tp4453510p4455978.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list