I have been using external pointers through the Rcpp::Xptr class and
have encountered memory problems that I think are related to the way I
construct instances of this class. I have looked at
Rcpp/inst/unitTests/runit.XPtr.R and at Rcpp/inst/include/XPtr.h
(although I haven't read the latter carefully). There is also a
section in "Writing R Extensions" on external pointers and weak
references. Is there anything that I have missed?
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel