Skip to content
Prev 57049 / 63424 Next

Fast way to call an R function from C++?

Hello Kevin and I?aki,

Thanks for your quick responses. I sincerely appreciate them! I can see how
complicated it is to interact with R in C. I?aki's suggestion is very
helpful, I saw there is a lot of performance gain by turning the flag on,
but sadly the best performance it can offer still cannot beat R itself. It
is interesting to see that C++ is worse than R in this special case despite
there is a common belief that C++ code is the fast one... Anyway, thanks
again for your suggestions and reference!

Best,
Jiefei
On Tue, Jun 18, 2019 at 2:39 PM I?aki Ucar <iucar at fedoraproject.org> wrote: