Interface the xts API via Rcpp