[Rcpp-devel] rcpp_modules: Passing object pointer back to C++
Ian Fellows
ian.fellows at stat.ucla.edu
Mon Jan 23 10:19:40 CET 2012
I've been using the strategy I outlined last month ( http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-December/003226.html ) for some time now. It is pretty similar to Jelmer's, but makes sure that R owns the object when a C++ class wrapped into an S4 class. Note that the copy constructor must be shallow. I am interested in feedback.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120123/cfc34f4a/attachment.html>
More information about the Rcpp-devel
mailing list