Re: [Rcpp-devel] Problem with modules

2014-09-04 Thread Dirk Eddelbuettel
On 4 September 2014 at 11:58, Dirk Eddelbuettel wrote: | | On 4 September 2014 at 18:28, Stefan Boehringer wrote: | | I try to get the Rcpp.package.skeleton example running. | | My favourite approach for cases like this is to look at existing / working | packages. We do have an example in the u

Re: [Rcpp-devel] Problem with modules

2014-09-04 Thread Dirk Eddelbuettel
On 4 September 2014 at 18:28, Stefan Boehringer wrote: | I try to get the Rcpp.package.skeleton example running. My favourite approach for cases like this is to look at existing / working packages. We do have an example in the unit tests set in inst/unitTests/testRcppModule/ and it

[Rcpp-devel] Problem with modules

2014-09-04 Thread Stefan Boehringer
I try to get the Rcpp.package.skeleton example running. Rcpp.package.skeleton('GeneticsHaplotype', module = T); My zzz.R looks like: .onLoad <- function(libname, pkgname){ #loadRcppModules() loadModule("yada", TRUE) } I also tried various variations (as indicated by the comments in zzz.