<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear all,</p>
<p>with a standard Rcpp module I get the error "<span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">Expecting an
external pointer: [type=environment]."</span></span><span
style="color:#000000;background-color:#ffffff;"> from </span><span
style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">x$.self$finalize()</span><br>
</span> which is an internal wrapper around modules from Rcpp.</p>
<p>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.</p>
<p>Any help appreciated. Thank you in advance.</p>
<p>Best,</p>
<p> Stefan</p>
<p><br>
</p>
</body>
</html>