[Rcpp-devel] Multidimensional List (List of Lists)

Marco marcoigarapava at gmail.com
Mon Mar 25 03:35:51 CET 2013


Hi, I being looking around but couldn't find a way to create a list of a 
list inside Rcpp. Is that possible?

So far I tried:

List ret1;
List ret2;
ret1["name1"] = resultsMatrix;
ret2["name2"] = covarMatrix;
List ret;
ret["samples"] = ret1;
ret["covmatrix"] = ret2;


But no sucess.


More information about the Rcpp-devel mailing list