The Module function documentation does not say anything about specifying
the DLL directly, as in:
mod = Module("Foo", dyn.load('mylib.so'))
instead of
mod = Module("Foo", PACKAGE="mypack").
But the first variant works, and it is not clear from the code in Module.R
why it does. Is this an undocumen
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
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