On May 26, 2011, at 10:40 AM, Romain Francois wrote:
Hello,
I'm looking for examples of how to handle serialization of external pointers.
We use external pointers intensively in Rcpp for modules and one popular request is to have persistence. And I guess we need to be able to serialize/deserialize external pointers for this.
Also, module objects are all instances of reference classes, so maybe that can be handled at the R level ?
Reference classes have nothing to do with EXTPTR - they are simply built around environments and as such have no issues with serialization.