Re: [Rcpp-devel] package .onLoad multiple modules

2011-06-24 Thread baptiste auguie
Hi, Thanks, and indeed, given the choice r-forge always opts for CRAN versions of packages, which is quite annoying. I removed Rcpp from DESCRIPTION/Depends when I added it as an import(Rcpp) in NAMESPACE. I'm not sure if both are needed/compatible. Thanks also for the news re: the next Rcpp rele

Re: [Rcpp-devel] package .onLoad multiple modules

2011-06-24 Thread Dirk Eddelbuettel
On 24 June 2011 at 10:16, Davor Cubranic wrote: | On June 23, 2011 08:16:59 PM baptiste auguie wrote: | > - could we expect a CRAN release of Rcpp soon? (I am relying on this | > new argument to loadRcppModules(), which means that my package would | > currently fail on CRAN, and even on r-forge (I

Re: [Rcpp-devel] package .onLoad multiple modules

2011-06-24 Thread Davor Cubranic
On June 23, 2011 08:16:59 PM baptiste auguie wrote: > - could we expect a CRAN release of Rcpp soon? (I am relying on this > new argument to loadRcppModules(), which means that my package would > currently fail on CRAN, and even on r-forge (I'm not sure how to > specify Rcpp >= 0.9.4.2 as import).

Re: [Rcpp-devel] package .onLoad multiple modules

2011-06-23 Thread baptiste auguie
Oops, please ignore the second request; it is documented in Rcpp-modules. Thanks, baptiste On 24 June 2011 15:16, baptiste auguie wrote: > Hi, > > I have a couple of follow-up questions re: this old thread: > > - could we expect a CRAN release of Rcpp soon? (I am relying on this > new argument

Re: [Rcpp-devel] package .onLoad multiple modules

2011-06-23 Thread baptiste auguie
Hi, I have a couple of follow-up questions re: this old thread: - could we expect a CRAN release of Rcpp soon? (I am relying on this new argument to loadRcppModules(), which means that my package would currently fail on CRAN, and even on r-forge (I'm not sure how to specify Rcpp >= 0.9.4.2 as imp

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread baptiste auguie
On 31 May 2011 23:19, wrote: > > Le 31 mai 2011 à 13:11, Christian Gunning a écrit : > >> On Tue, May 31, 2011 at 3:00 AM, >> wrote: >>> When FALSE it does what you want. Fantastic, thanks a lot. baptiste >> >> I can't begin to describe how long I've waited for such a function. >> -x > > :-)

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread romain
Le 31 mai 2011 à 13:11, Christian Gunning a écrit : > On Tue, May 31, 2011 at 3:00 AM, > wrote: >> When FALSE it does what you want. > > I can't begin to describe how long I've waited for such a function. > -x :-) Well it does what you want ... in this context... It might not accomodate othe

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread Christian Gunning
On Tue, May 31, 2011 at 3:00 AM, wrote: > When FALSE it does what you want. I can't begin to describe how long I've waited for such a function. -x -- A man, a plan, a cat, a ham, a yak, a yam, a hat, a canal – Panama! ___ Rcpp-devel mailing list Rcpp

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-31 Thread Romain Francois
Hello, I just added (rev 3043) a "direct" argument to loadRcppModules. When TRUE (the default) it exposes the contents of the module When FALSE it does what you want. Romain Le 29/05/11 08:56, baptiste auguie a écrit : Dear list, [Disclaimer: I am not very familiar with Rcpp/C++, and probably

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-30 Thread baptiste auguie
Hi, On 31 May 2011 07:55, Romain Francois wrote: > Le 30/05/11 01:56, baptiste auguie a écrit : >> >> Thanks, that is helpful. I think I have nailed down the problem. >> >> I defined a wrapper at R level that used a C++ function from a module >> named "cd", >> >> circular_dichroism_spectrum<- fun

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-30 Thread Romain Francois
Le 30/05/11 01:56, baptiste auguie a écrit : Thanks, that is helpful. I think I have nailed down the problem. I defined a wrapper at R level that used a C++ function from a module named "cd", circular_dichroism_spectrum<- function( ... ){ [...] # some argument processing res<- cd$circula

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-29 Thread baptiste auguie
Thanks, that is helpful. I think I have nailed down the problem. I defined a wrapper at R level that used a C++ function from a module named "cd", circular_dichroism_spectrum <- function( ... ){ [...] # some argument processing res <- cd$circular_dichroism_spectrum(...) # calling the C++ fun

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-29 Thread Dirk Eddelbuettel
On 30 May 2011 at 10:29, baptiste auguie wrote: | Hi, | | On 30 May 2011 04:28, Dirk Eddelbuettel wrote: | > | > On 29 May 2011 at 18:56, baptiste auguie wrote: | > | Dear list, | > | | > | [Disclaimer: I am not very familiar with Rcpp/C++, and probably | > | haven't followed all the relevant di

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-29 Thread baptiste auguie
Hi, On 30 May 2011 04:28, Dirk Eddelbuettel wrote: > > On 29 May 2011 at 18:56, baptiste auguie wrote: > | Dear list, > | > | [Disclaimer: I am not very familiar with Rcpp/C++, and probably > | haven't followed all the relevant discussions on this list.] > | > | I'm trying to tidy up two packages

Re: [Rcpp-devel] package .onLoad multiple modules

2011-05-29 Thread Dirk Eddelbuettel
On 29 May 2011 at 18:56, baptiste auguie wrote: | Dear list, | | [Disclaimer: I am not very familiar with Rcpp/C++, and probably | haven't followed all the relevant discussions on this list.] | | I'm trying to tidy up two packages on r-forge [*] before submitting | them to CRAN. In "cda/zzz.r",

[Rcpp-devel] package .onLoad multiple modules

2011-05-28 Thread baptiste auguie
Dear list, [Disclaimer: I am not very familiar with Rcpp/C++, and probably haven't followed all the relevant discussions on this list.] I'm trying to tidy up two packages on r-forge [*] before submitting them to CRAN. In "cda/zzz.r", I have the following code, NAMESPACE <- environment() cda <- n