Re: [Rcpp-devel] Expose cpp class with built-in boost odeint to R

2018-09-14 Thread Simon Woodward
Hi Ralf Thank you so much, your advice was extremely helpful! It works now. My simulation model will be 1000+ lines of C++, this is a prototype, I embedded the code inline to make it easier to post as a reprex to this forum. Follow up questions: - do I need to worry about destructing my global v

Re: [Rcpp-devel] Rcpp Class

2018-09-14 Thread Dirk Eddelbuettel
On 14 September 2018 at 10:58, Dale Smith wrote: | Hello all, | | While I’m not very active in R at the moment, I’m still here. | | Dirk ran a class in Rcpp in the fall of 2011. That was in SF. We also did NY a few years later. | I’ve not heard of any classes since, but it strikes me that ther

[Rcpp-devel] Rcpp Class

2018-09-14 Thread Dale Smith
Hello all, While I’m not very active in R at the moment, I’m still here. Dirk ran a class in Rcpp in the fall of 2011. I’ve not heard of any classes since, but it strikes me that there are enough people familiar with Rcpp to run regional classes. This would make travel easier. Or, core members

Re: [Rcpp-devel] Expose cpp class with built-in boost odeint to R

2018-09-14 Thread Dirk Eddelbuettel
Simon, "What Ralf said" -- it's all spot on. Get to something smaller, shorter, simpler and it should sort itself out in due course. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | [email protected] ___ Rcpp-devel mailing list Rcpp-devel@lists

Re: [Rcpp-devel] questions Rcpp

2018-09-14 Thread Mounia ZAOUCHE
Thank you very much for your answers. Actually, it is really helpful. Best, Mounia De: "edd" À: "Qiang Kou" Cc: "mounia zaouche" , "rcpp-devel" Envoyé: Jeudi 13 Septembre 2018 22:55:58 Objet: Re: [Rcpp-devel] questions Rcpp On 13 September 2018 at 08:51, Qiang Kou wrote: | Hi, Mou

Re: [Rcpp-devel] Expose cpp class with built-in boost odeint to R

2018-09-14 Thread Ralf Stubner
On 14.09.2018 05:17, Simon Woodward wrote: > I am developing a simulation model in C++ and I want to expose it to R for > testing. The model is in a C++ class and uses the boost::odeint library for > numerical integration. I am also using an unordered_map to expose the model > variables to the u