No, what I would like to do is access an Rcpp module from a dynamic library
that is not part of a R package (e.g., loaded using dyn.load() ). If I put the
code in a package, there is no problem. But what I am getting is:
> library(Rcpp)
> dyn.load("add.so")
> mod=Module("adding")
> add=new(mod
Hi Michael,
On 25 February 2012 at 19:45, Michael Braun wrote:
| Hi. I would like to start using Rcpp modules in my code, but I am having some
| trouble loading them into R. Here is an example:
My personal approach is to follow the path of least resistance on __start
from an existing package__
Hi. I would like to start using Rcpp modules in my code, but I am having some
trouble loading them into R. Here is an example:
#include
template
class adding {
public:
const T a, b;
adding(const T&, const T&);
T add2();
};
template
adding::adding(const T& a_, const T& b_) : a(a_), b