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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to