Issue is on Stack Overflow with example code - Roland suggested I table issue here. Please see [http://stackoverflow.com/questions/34809554/r-xts-and-data-table-and-idate]
When I set dates with IDate (integer dates), I then get errors when looking at the table after an xts conversion with this error message:
Error in index.xts(x[1, ]) : unsupported ‘indexClass’ indexing type: IDate.
so with date as IDate in the data table:
dt.xts <- as.xts.data.table(dt) # seems to work okay but...
str(dt.xts) # gives indexing type error above
R3.2.2. versions: xts: 0.9-7 zoo: 1/7-12 data.table: 1.9.6
Issue is on Stack Overflow with example code - Roland suggested I table issue here. Please see [http://stackoverflow.com/questions/34809554/r-xts-and-data-table-and-idate]
When I set dates with IDate (integer dates), I then get errors when looking at the table after an xts conversion with this error message:
so with date as IDate in the data table:
R3.2.2. versions: xts: 0.9-7 zoo: 1/7-12 data.table: 1.9.6