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

2019-11-13 Thread LEVRA-JUILLET William
Thx Sergei, Yes you're right, I want to use my c++ function as a R function. Sorry about the Banana function that takes 2 scalars, you’re right again, it should take a vector as input. Please ignore this for now (this is a dummy example) My c++ "Banana" function is already compiled in my project

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

2019-11-13 Thread Serguei Sokol
Le 13/11/2019 à 09:31, LEVRA-JUILLET William a écrit : Thx Sergei, Yes you're right, I want to use my c++ function as a R function. Sorry about the Banana function that takes 2 scalars, you’re right again, it should take a vector as input. Please ignore this for now (this is a dummy example) M