[Rcpp-devel] xts inputs and outputs for Rcpp translation

Darren Cook darren at dcook.org
Thu Feb 6 14:15:06 CET 2014


> The closest I found for some help online was found here
> (http://gallery.rcpp.org/articles/accessing-xts-api/) but that seems
> to only give xts outputs rather than taking in xts inputs. 

I think the key point being shown there is that an xts object is just a
NumericMatrix with a few attributes attached.  (Or a NumericVector if it
is a single-column xts object.)

If you've never poked around in xts internals this is probably going to
be a bit painful ;-)

Darren



-- 
Darren Cook, Software Researcher/Developer

http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)


More information about the Rcpp-devel mailing list