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] [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] [Rd] R inline package

2012-03-19 Thread Troy Robertson
On 19/03/2012 12:50 PM, Troy Robertson wrote: At Dirks suggestion I have moved my question here to rcpp-devel On 19/03/2012 9:54 AM, Dirk Eddelbuettel wrote: On 19 March 2012 at 09:32, Troy Robertson wrote: | I am having some problems with the inline package and maybe someone can | point out

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

2012-03-18 Thread Troy Robertson
At Dirks suggestion I have moved my question here to rcpp-devel On 19/03/2012 9:54 AM, Dirk Eddelbuettel wrote: On 19 March 2012 at 09:32, Troy Robertson wrote: | I am having some problems with the inline package and maybe someone can | point out what is going wrong? | I have developed a C++ lib