[R] subscript out of bouns

Kenneth Roy Cabrera Torres krcabrer at une.net.co
Thu Jun 30 11:18:31 CEST 2011


Hi R users:

I got a problem traying to select one date of a timeSeries object.

But it works with the SWX data objetct.

What am I doing worng?

library(fImport)

datos2<-readSeries(file="misDatos.csv",header=TRUE,sep=",",
                   format="%Y-%m-%d",
                   FinCenter='America/Bogota',zone="America/Bogota")
head(datos2)

datos2["2011-01-03",]

traceback()


Thank you for your help.




More information about the R-help mailing list