Re: [Rcpp-devel] Passing a pointer to a class via modules

2017-02-07 Thread Ege Rubak
Hi Dirk, Thanks for taking your time to have a look. This was exactly what I feared, but I just wanted to check if anybody on the list could spot an easy solution. Anyway, I will continue my investigations and work around it for now. Cheers, Ege On 02/08/2017 04:45 AM, Dirk Eddelbuettel

Re: [Rcpp-devel] Passing a pointer to a class via modules

2017-02-07 Thread Dirk Eddelbuettel
Ege, That's not a simple question, and I don't really have a good answer. I fear the best approach may just be to prototype a little, maybe with and without Rcpp Modules. Cheers, Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

[Rcpp-devel] Passing a pointer to a class via modules

2017-02-05 Thread Ege Rubak
Hi, I'm making an R interface to Google's s2 library for geometry on the sphere via Rcpp Modules. In general Modules is great for this since it allows me to expose a lot of classes and functions without much C++ experience. Now I have encountered a problem which I would be grateful for help