Skip to content
Prev 2110 / 10988 Next

[Rcpp-devel] R.e. loadRcppModules

On Tue, Apr 12, 2011 at 1:11 AM, Romain Francois
<romain at r-enthusiasts.com> wrote:
The documented behavior is that an external pointer is replaced by a
null pointer when an object is serialized.  I was planning to
experiment with an object that has enough information saved as R
objects to be able to regenerate the C++ object and an external
pointer to the module instance.  The methods that use the object will
check first to see if the pointer is null, in which case they will
regenerate the module instance, otherwise go directly to invoking
methods on the module instance.

I doubt that I will be able to get to this until next week as I have
our Master's exam reports to read starting at 11:00 this morning.