[Rcpp-devel] Rcpp Module: Expecting an external pointer: [type=environment]
Stefan Boehringer
s.boehringer at lumc.nl
Tue Mar 11 17:32:27 CET 2025
Dear all,
with a standard Rcpp module I get the error "Expecting an external
pointer: [type=environment]."from x$.self$finalize()
which is an internal wrapper around modules from Rcpp.
The underlying C++ class allocates memory through standard STL object
allocation. The class does perform disk based memory mapping which is
unmapped in the destructor. I did not succeed in further isolating the
problem.
Any help appreciated. Thank you in advance.
Best,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20250311/620c9d38/attachment.htm>
More information about the Rcpp-devel
mailing list