Hi,
Works for me, try this:
SP500$Date <- as.character(as.Date(as.character(SP500$Date), "%m/%d/%y"))
SP500
DateOpenHigh Low Close Volume
1 2006-08-04 1280.26 1292.92 1273.82 1279.40 2530970112
2 2006-08-03 1278.22 1283.96 1271.25 1280.27 2728440064
3 2006-08-02 1270.73
Hi folks - After upgrading to the latest version of Rmetrics, I can't
read in data like I used to. Is anyone seeing the following? It seems
to truncate the dates after I use "as.timeSeries".
-John
SP500<-read.table("SP500.csv",header=TRUE,sep=",")
> head(SP500)
DateOpenHig
2 matches
Mail list logo