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] Short blog post on loop speed in R

2011-06-23 Thread Christian Gunning
On Sun, Jun 19, 2011 at 11:20 AM, Douglas Bates wrote: > > > As for the use of Rcpp, the STL containers and algorithms can be > exploited to an even greater extent.  If you are willing to jump > through the hoops of defining a struct that inherits from > std::binary_function then you can shorten t

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

[Rcpp-devel] templated NA

2011-06-23 Thread Andrew Redd
Is there a templated version of NA with Rcpp, or perhaps some sugar statement, such that the following might be valid statements? typedef double mytime; const mytime time_unknown = Rcpp::NA; Thanks, Andrew ___ Rcpp-devel mailing list Rcpp-devel@lists.r-

Re: [Rcpp-devel] changes Armadillo 1.99.5

2011-06-23 Thread Dirk Eddelbuettel
Hi Conrad, On 23 June 2011 at 20:11, Conrad Sand wrote: | Hi everyone, | | I've just released Armadillo 1.99.5, which is likely to get wrapped up | in the next release of RcppArmadillo. Thanks a lot for detailing the changes, and of course for Armadillo itself. Your 1.99.5 code is now in our SV

[Rcpp-devel] changes Armadillo 1.99.5

2011-06-23 Thread Conrad Sand
Hi everyone, I've just released Armadillo 1.99.5, which is likely to get wrapped up in the next release of RcppArmadillo. See http://arma.sourceforge.net/ The 1.99.x series are beta releases for the upcoming 2.0 release. There are a few minor but important API changes and additions in 1.99.5, el

Re: [Rcpp-devel] Wrapping uBlas Matrices into Rcpp Matrices

2011-06-23 Thread Cedric Ginestet
Dear Douglas, Thank you very much for your codes. It took me ages to get back to this. Your templated ublas2rcpp works perfectly. Thanks again, Cedric On 09/06/11 17:29, Douglas Bates wrote: I attach a templated function ublas2rcpp that uses an intermediate to generate the Rcpp matrix. This