Re: [Rcpp-devel] Fwd: package contains overloaded methods in module

2014-07-08 Thread Dirk Eddelbuettel
Chaomei, We have an entire vignette dedicated to this, and several packages on CRAN which provide working examples of Rcpp Modules use -- my RcppRedis and RcppCNPy come to mind (and the former is more recent). Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

[Rcpp-devel] Fwd: package contains overloaded methods in module

2014-07-08 Thread Chaomei Lo
I think the problem was because the user's module was not loaded in zzz.R file, and after I added my own module name manually. It works !. However, I would like to know what is the correct way to do it. When I created the package, I provided the c++ file of my own as below, is there anyway the cu

[Rcpp-devel] Fwd: package contains overloaded methods in module

2014-07-08 Thread Chaomei Lo
Hi, Romain, Please see my previous message in below. When I created a package, the RcppExports.cpp did not contain any info about the class "Randomizer". Would you please give a advice ? Thanks in advance. Chaomei -- Forwarded message -- From: Chaomei Lo Date: Tue, Jul 1, 2014 a