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
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
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
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
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