I am contemplating creating data.table objects from Rcpp. We had some luck with (exported) bindings from xts some of which we wrapped up in the RcppXts package (GitHub, CRAN) which provides some guidance as to how to do this in compiled code.
Could something similar be started here? Creating data.frame objects in C++ is not easy---we mostly just stick things in a list and call the R function as.data.frame() on it. I guess I could always call setDT() after that. But are there any C level functions here we could export, one by one, or dozen by the dozen? Happy to help...
I am contemplating creating data.table objects from Rcpp. We had some luck with (exported) bindings from xts some of which we wrapped up in the RcppXts package (GitHub, CRAN) which provides some guidance as to how to do this in compiled code.
Could something similar be started here? Creating data.frame objects in C++ is not easy---we mostly just stick things in a list and call the R function
as.data.frame()on it. I guess I could always callsetDT()after that. But are there any C level functions here we could export, one by one, or dozen by the dozen? Happy to help...