[Rcpp-devel] Please help! A list containing dataframe

stat quant statquant at outlook.com
Fri Sep 27 16:49:55 CEST 2013


This is not a Rcpp solution but be advise that as long as your function
"ma" do not require values on previous lines, you might want to look at the
data.table package. This package provides ultra fast operations on
data.frames.
Off course nothing prevents you from writing "ma" in C/C++ and to use
data.table to apply the function quickly and to insert the new data into
the data.table by reference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20130927/9dd5c4fe/attachment.html>


More information about the Rcpp-devel mailing list