Re: [Rcpp-devel] Loading Rcpp modules from dynamic library

2012-02-26 Thread Dirk Eddelbuettel
On 26 February 2012 at 14:50, [email protected] wrote: | You can grab the result of dyn.load and use it as the PACKAGE argument of Module. While we continued to recommend using a package, I have now documented this in a short paragraph I just added at the end of the Rcpp-modules vignette

Re: [Rcpp-devel] Loading Rcpp modules from dynamic library

2012-02-26 Thread romain
hello, You can grab the result of dyn.load and use it as the PACKAGE argument of Module. Romain Le 26 févr. 2012 à 01:11, Michael Braun a écrit : > 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()

Re: [Rcpp-devel] New to Rcpp - Can't get models to work

2012-02-26 Thread romain
Hello, If you are using R CMD SHLIB/dyn.load, you can grab the result of dyn.load and use it as the PACKAGE argument of Module. Romain Le 23 févr. 2012 à 17:36, Kevin Ceder a écrit : > I started digging to Rcpp yesterday as a way to plug a C++ class I wrote into > R. It looks like RCPP_MO