Skip to content
Prev 199778 / 398502 Next

Interfacing R and C++

Hi,

I m currently working on interfacing R and C++ (passing a matrix from
R to C++, doing some stuff, returning a vector of results). There seem
to be a number of ways of doing this, such as rcpp and swig. Is there
a recommended way of doing this? In the long run I would like what I m
working on to be portable across OS etc.

Nathan