[R] Interfacing R and C++

2009-11-10 Thread Nathan Harmston
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

Re: [R] Interfacing R and C++

2009-11-10 Thread Duncan Murdoch
On 11/10/2009 12:35 PM, Nathan Harmston wrote: 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