Re: [Rcpp-devel] [Rd] R inline package

2012-03-20 Thread Dirk Eddelbuettel
Hi Troy, Glad to hear you're covered. On 21 March 2012 at 07:45, Troy Robertson wrote: | Hi Dirk, | | It's okay. I just created my own copy of the setCMethod and added the | missing ellipses to it's call to cfunction() and it works fine. | It now passes on the Rcpp=TRUE and the cppargs and li

Re: [Rcpp-devel] [Rd] R inline package

2012-03-20 Thread Troy Robertson
Hi Dirk, It's okay. I just created my own copy of the setCMethod and added the missing ellipses to it's call to cfunction() and it works fine. It now passes on the Rcpp=TRUE and the cppargs and libargs and finds both the Rcpp and my own library. Troy On 21/03/2012 12:19 AM, Dirk Eddelbuette

Re: [Rcpp-devel] devtools load_all() and modules

2012-03-20 Thread Dirk Eddelbuettel
On 20 March 2012 at 12:22, Hadley Wickham wrote: | > For usage beyond what we document and test, you're on your own.  If you want | > to explore usage with devtools and other means, go for it. | > | > But I will be unlikely to have time to work this out for you, unfortunately. | | Let me flip thi

Re: [Rcpp-devel] devtools load_all() and modules

2012-03-20 Thread Hadley Wickham
> For usage beyond what we document and test, you're on your own.  If you want > to explore usage with devtools and other means, go for it. > > But I will be unlikely to have time to work this out for you, unfortunately. Let me flip this around on you - when you're developing a package that uses R

Re: [Rcpp-devel] [Rd] R inline package

2012-03-20 Thread Dirk Eddelbuettel
On 19 March 2012 at 14:32, Troy Robertson wrote: | Okay, after having a look at the source for the inline package, I see | that ... arguments to setCMethod() | are not passed on in its internal call to cfunction(), hence my cppargs | and libargs (and indeed Rcpp=TRUE) | are ignored? As I said b

Re: [Rcpp-devel] devtools load_all() and modules

2012-03-20 Thread Dirk Eddelbuettel
Hi Chris, On 20 March 2012 at 00:10, Chris DuBois wrote: | Hi all, | | I'm trying out Hadley's devtools package.  I'm having trouble using | load_all() on a package which uses Rcpp modules.  From the readme, | this function "simulates installing and reloading your package, by | loading R code in

[Rcpp-devel] devtools load_all() and modules

2012-03-20 Thread Chris DuBois
Hi all, I'm trying out Hadley's devtools package.  I'm having trouble using load_all() on a package which uses Rcpp modules.  From the readme, this function "simulates installing and reloading your package, by loading R code in R/, compiled shared objects in src/and data files in data/. During dev