[Rd] Linking to native routines in other packages

2013-11-16 Thread Romain Francois
Hello, I'm currently working on making Rcpp use the feature described here more: http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages To give more context, Rcpp has for a long time built what we called "the Rcpp user library", i.e. a library we could li

Re: [Rd] Linking to native routines in other packages

2013-11-16 Thread Romain Francois
Le 16/11/2013 11:02, Romain Francois a écrit : Hello, I'm currently working on making Rcpp use the feature described here more: http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages To give more context, Rcpp has for a long time built what we called "th

[Rd] serialization for external pointers

2013-11-16 Thread Romain Francois
Hello, Are there any recipe to handle serialization / deserialization of external pointers. I'm thinking about something similar in spirit to the way we handle finalization of external pointers. Currently, if we create an external pointer, save the session, quit R, then load the session, w

Re: [Rd] serialization for external pointers

2013-11-16 Thread Romain Francois
Le 16/11/2013 14:30, Romain Francois a écrit : Hello, Are there any recipe to handle serialization / deserialization of external pointers. I'm thinking about something similar in spirit to the way we handle finalization of external pointers. Currently, if we create an external pointer, save th

Re: [Rd] serialization for external pointers

2013-11-16 Thread Simon Urbanek
On Nov 16, 2013, at 8:30 AM, Romain Francois wrote: > Hello, > > Are there any recipe to handle serialization / deserialization of external > pointers. > > I'm thinking about something similar in spirit to the way we handle > finalization of external pointers. > See refhook in serialize/uns