window function works in version 0.9-7 not working in version 0.11-2 #312
Closed
Description
The window
function works in an older version (0.9-7), but fails the new version.
out.early.xts.window <- window(out.early.xts,start=1995.00)
Error in .toPOSIXct(start, indexTZ(x)) : invalid time / time based class
Can you share an example of work around ?
Was trying to install the old version using the following command, but runs into compilation issue
require(devtools)
install_version("xts", "0.9-7","http://cran.us.r-project.org")
ERROR: compilation failed for package 'xts'