Re: [Rcpp-devel] Idiom for preserving an Rcpp object while passing back an external pointer?

2011-02-05 Thread Dominick Samperi
On Sat, Feb 5, 2011 at 9:52 AM, Douglas Bates wrote: > As Dirk and Romain know I have been struggling to debug a memory > protection problem that I encounter in code based on Rcpp Modules.  As > with all memory protection problems, it is very difficult to track > down and I have kind-of run out of

Re: [Rcpp-devel] Idiom for preserving an Rcpp object while passing back an external pointer?

2011-02-05 Thread Dirk Eddelbuettel
On 5 February 2011 at 08:52, Douglas Bates wrote: | As Dirk and Romain know I have been struggling to debug a memory | protection problem that I encounter in code based on Rcpp Modules. As | with all memory protection problems, it is very difficult to track | down and I have kind-of run out of op

[Rcpp-devel] Idiom for preserving an Rcpp object while passing back an external pointer?

2011-02-05 Thread Douglas Bates
As Dirk and Romain know I have been struggling to debug a memory protection problem that I encounter in code based on Rcpp Modules. As with all memory protection problems, it is very difficult to track down and I have kind-of run out of options right now. I plan, for the time being, to use code t