c++ – Difference between RInside and Rcpp

c++ – Difference between RInside and Rcpp

Rcpp:

The Rcpp package provides R functions and a C++ library facilitating the integration of R and C++.

RInside:

The RInside package provides a few classes for seamless embedding of R inside of C++ applications by relying on Rcpp.

So it appears the Rcpp is lower level and facilities the communication between the two languages, not just from R to C++ as you state but communication in both directions. RInside, on the other hand, is higher level library built on top of Rcpp focused on easy embedding of R into C++.

c++ – Difference between RInside and Rcpp

Leave a Reply

Your email address will not be published.