[R] Data Handling

Lily_stats sundusc at gmail.com
Fri Jul 30 15:02:18 CEST 2010


Hi,

I am trying to convert my dataset into xts. I have tried the following :

data1<-read.table("data1.txt",header=F)
data2<-read.table("data2.txt",header=F)

data1.xts<as.xts(data1,descr="my new xts object)

However, I get an error :

Error in as.POSIXlt.character(x, tz, ...) : 
  character string is not in a standard unambiguous format

I understand that my date and time format might not be accepted and have
tried to convert this but failed. 

Could you suggest something ?

My date is in the format : dd/mm/yyyy
My time is in the format : hh:00

Thank you in advance


-- 
View this message in context: http://r.789695.n4.nabble.com/Data-Handling-tp2307770p2307936.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list