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] Registering a custom delete_finalizer for my XPtrs

2011-07-04 Thread Dirk Eddelbuettel
Hi Steve, Thanks for the nicely detailed email which was very well reasoned. I'll be brief as I just got back from Europe and am a little fried from travelling. But if I don't reply now it may fall to the wayside... On 4 July 2011 at 10:09, Steve Lianoglou wrote: | On Mon, Jul 4, 2011 at 4:00

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

2011-07-04 Thread Steve Lianoglou
Hi Dirk, On Mon, Jul 4, 2011 at 4:00 AM, Dirk Eddelbuettel wrote: > > Hi Steve, > > On 3 July 2011 at 19:02, Steve Lianoglou wrote: > | Greetings, > | > | Preamble: My C++ is quite ... hmmm, does anybody know any good > | euphemisms for "weak"?. So, sorry if this (or questions that will > | likel

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

2011-07-04 Thread Dirk Eddelbuettel
Hi Steve, On 3 July 2011 at 19:02, Steve Lianoglou wrote: | Greetings, | | Preamble: My C++ is quite ... hmmm, does anybody know any good | euphemisms for "weak"?. So, sorry if this (or questions that will | likely follow) is too basic. | | I've been using Rcpp to help make a more R-like wrappe

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

2011-07-03 Thread Steve Lianoglou
Greetings, Preamble: My C++ is quite ... hmmm, does anybody know any good euphemisms for "weak"?. So, sorry if this (or questions that will likely follow) is too basic. I've been using Rcpp to help make a more R-like wrapper library to the shogun-toolbox[1]. So far, it's been pretty fun, and (to