Re: [Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread Dirk Eddelbuettel
On 8 May 2012 at 18:34, James Simone wrote: | Hi Dirk, | | Thank You for the quick reply. | | | After reading many posts, I found your suggestion works: | | > R.version.string | [1] "R version 2.13.1 (2011-07-08)" | > require(Rcpp) | > dl <- dyn.load("mod.so") | > mod <- Module("mod",PACKA

Re: [Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread Dirk Eddelbuettel
James, On 8 May 2012 at 17:51, James Simone wrote: | I have followed the Rcpp developer's recommendation that a package | greatly simplifies using RCPP_MODULE wrappering. Unfortunately, I'm | having difficulty building and checking even a simple package | containing an Rcpp module. I have read pr

Re: [Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread James Simone
Hi Dirk, Thank You for the quick reply. After reading many posts, I found your suggestion works: > R.version.string [1] "R version 2.13.1 (2011-07-08)" > require(Rcpp) > dl <- dyn.load("mod.so") > mod <- Module("mod",PACKAGE=dl) > mod$norm(1,2) [1] 2.236068 On 05/08/2012 06:14 PM, Dirk Eddelb

Re: [Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread Dirk Eddelbuettel
Hi James, On 8 May 2012 at 17:51, James Simone wrote: | I have followed the Rcpp developer's recommendation that a package | greatly simplifies using RCPP_MODULE wrappering. Unfortunately, I'm | having difficulty building and checking even a simple package | containing an Rcpp module. I have read

[Rcpp-devel] help packaging Rcpp modules

2012-05-08 Thread James Simone
I have followed the Rcpp developer's recommendation that a package greatly simplifies using RCPP_MODULE wrappering. Unfortunately, I'm having difficulty building and checking even a simple package containing an Rcpp module. I have read previous posts on this topic but I did not find anything helpf