On Mon, May 4, 2015 at 2:37 PM, Dirk Eddelbuettel <e...@debian.org> wrote:
> Keep us posted. After all that, I ended up with lapply(lapply(1:length(x[[1]]), function(i) lapply(x, function(a) a[[i]])), unlist) Probably fast enough. Its just too painful to deal with the possible types in C/C++. (Browsing the R source shows hundreds of lines of C code to support 'unlist'). THK -- http://www.keittlab.org/
_______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel