[Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-08 Thread LEVRA-JUILLET William
Hi all, I'm evaluating RInside/Rcpp to interact our C++ project with R. I've seen the samples to get/set data (matrix, dataframes, etc) to/from R and it builds/works fine. (Using gcc/mingw compiler from RTools on Windows) My questions is about functions... My project is C++, and it uses RInside

Re: [Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-08 Thread Iñaki Ucar
There's an article about this in the Rcpp Gallery [1], but it seems that some commit dropped half of the article (?). Anyway, there's a cached version in [2], and you can always go directly to the Rmd [3]. [1] https://gallery.rcpp.org/articles/passing-cpp-function-pointers-rcppxptrutils/ [2] htt

Re: [Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-08 Thread Iñaki Ucar
Sorry about the attachments in my last mail. On Fri, 8 Nov 2019 at 11:15, Iñaki Ucar wrote: > > There's an article about this in the Rcpp Gallery [1], but it seems > that some commit dropped half of the article (?). Anyway, there's a > cached version in [2], and you can always go directly to the

Re: [Rcpp-devel] RInside: C/C++ function(s) passed to R?

2019-11-08 Thread Dirk Eddelbuettel
On 8 November 2019 at 10:06, LEVRA-JUILLET William wrote: | I'm evaluating RInside/Rcpp to interact our C++ project with R. | I've seen the samples to get/set data (matrix, dataframes, etc) to/from R and it builds/works fine. | (Using gcc/mingw compiler from RTools on Windows) | | My questions i