Skip to content
Prev 3420 / 10988 Next

[Rcpp-devel] accessing list elements without using names

Or if you want to show off you could collapse it to
+   NumericMatrix tmpMatrix(as<SEXP>(List(L)[0]));
+   return wrap(tmpMatrix.ncol());
+ "
[1] 3
On Fri, Feb 10, 2012 at 3:01 PM, Douglas Bates <bates at stat.wisc.edu> wrote: