Re: [Rcpp-devel] Registering a custom delete_finalizer for my XPtrs

2011-07-07 Thread Steve Lianoglou
Hi Romain, Thanks for humoring my request! I'll take a look at it within the next few days to see how it works ... Cheers, -steve On Thu, Jul 7, 2011 at 1:48 PM, Romain Francois wrote: > Hello, > > I have added (in rev 3120) some code that allows the developper to register > his own finalizer

Re: [Rcpp-devel] Registering a custom delete_finalizer for my XPtrs

2011-07-07 Thread Romain Francois
Hello, I have added (in rev 3120) some code that allows the developper to register his own finalizer instead of the default one. For example: require( Rcpp ) require( inline ) inc <- ' class Foo{ public: Foo(double x_) :x(x_){} double x; } ; void

Re: [Rcpp-devel] Question about Rcpp on Windows

2011-07-07 Thread Dirk Eddelbuettel
Yi, Please use the rcpp-devel list for Rcpp questions, and you need to subscribe to post. I will CC the list now, please follow up on-list. On 7 July 2011 at 21:02, Yi Zhao wrote: | Dear Dirk, | | Your Rcpp package is very very brilliant. I have done a lot of works on linux | system by the help

Re: [Rcpp-devel] Rcpp modules: Derived class - exposing method from base class?

2011-07-07 Thread Romain Francois
Le 15/06/11 14:57, Douglas Bates a écrit : On Wed, Jun 15, 2011 at 6:38 AM, Jonas Rauch wrote: Hey again, just to clarify: The final solution was to implement all methods of the derived class that are to be exposed to R and to call the method of the base class explicitly: class Bar : public F