Re: [Rcpp-devel] Documentation on Rcpp::XPtr class

2010-12-19 Thread Dirk Eddelbuettel
On 19 December 2010 at 14:44, Douglas Bates wrote: | 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/i

[Rcpp-devel] Documentation on Rcpp::XPtr class

2010-12-19 Thread Douglas Bates
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 caref