Skip to content
Prev 2055 / 10988 Next

[Rcpp-devel] Problem passing Armadillo objects back to R

Le 06/04/11 17:12, Davor Cubranic a ?crit :
Not sure. This would I guess require that create don't take SEXP as 
arguments. This would break more things than it solves.

I fought this during several hours this morning until I realized "well I 
just can't do anything", but at least now I'll be quicker to identify 
similar things.

BTW, the problem also exists with unnamed components in create:

return Rcpp::List::create(
   Rcpp::wrap(X),
   Rcpp::wrap(Y)
);

This exhibits the same problem.

Romain