10 Foo(
double x_,
double y_) :
x(x_),
y(y_){}
13 return new Foo(
x,
y) ;
18 void bla(
const Foo& other){
26RCPP_EXPOSED_CLASS(Foo)
31 .constructor<
double,
double>()
32 .method(
"clone", &Foo::clone )
37 .method(
"bla", &Foo::bla )
48 r<<
"Foo <- Mod$make_foo()";
50 r<<
"f <- Foo$clone()";
#define LOAD_ROOTR_MODULE(NAME)
ROOT R was implemented using the R Project library and the modules Rcpp and RInside
static TRInterface & Instance()
static method to get an TRInterface instance reference
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...