Skip to content
Prev 5760 / 10988 Next

[Rcpp-devel] Returning Armadillo matrices with dimnames

Thanks for the reply Dirk.
On Thu, May 2, 2013 at 12:53 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
I understand how to do the entry based on what fastLm.cpp is doing.
I'm more interested in the exit because in my real work I have the
matrices generated in c++ itself. I put the entry code just to have a
self contained inline example to send to the list.  However, I'm not
sure how to do the exit in the way you describe. Would you be able to
tell me how to use the relevant NumericMatrix constructor or point me
to an example somewhere?  Thanks.

Rgds