Re: [Rcpp-devel] R.e. loadRcppModules

2011-04-11 Thread Romain Francois
Le 12/04/11 04:15, Christian Gunning a écrit : On Mon, Apr 11, 2011 at 3:00 AM, wrote: This will load the declared modules, and populate them into your package's namespace. I will update the Rcpp-modules vignette accordingly. Suggestions, comments, improvements, "what are you ? nuts !", .

[Rcpp-devel] R.e. loadRcppModules

2011-04-11 Thread Christian Gunning
On Mon, Apr 11, 2011 at 3:00 AM, wrote: > > > This will load the declared modules, and populate them into your > package's namespace. > > I will update the Rcpp-modules vignette accordingly. > > Suggestions, comments, improvements, "what are you  ? nuts !", ... are > always welcome. Works great f

Re: [Rcpp-devel] loadRcppModules

2011-04-11 Thread Dirk Eddelbuettel
On 11 April 2011 at 12:25, Romain Francois wrote: | Le 11/04/11 12:24, schattenpfla...@arcor.de a écrit : | > That sounds fantastic, thank you! Is the new version already available | > for download? | | No But we should have a version 0.9.4 really soon in just a few days. Dirk -- Dirk Eddelb

Re: [Rcpp-devel] Feature request: const_iterators

2011-04-11 Thread Romain Francois
Le 11/04/11 12:30, schattenpfla...@arcor.de a écrit : Hello, I have a suggestion for an additional feature of Rcpp. It would be nice to have const_iterators besides mutable iterators for Rcpp::NumericVector (and other vectors and matrices). This would make it easier to use templated functions li

[Rcpp-devel] Feature request: const_iterators

2011-04-11 Thread schattenpflanze
Hello, I have a suggestion for an additional feature of Rcpp. It would be nice to have const_iterators besides mutable iterators for Rcpp::NumericVector (and other vectors and matrices). This would make it easier to use templated functions like the one below, which can be used with std::vecto

Re: [Rcpp-devel] loadRcppModules

2011-04-11 Thread Romain Francois
Le 11/04/11 12:24, schattenpfla...@arcor.de a écrit : That sounds fantastic, thank you! Is the new version already available for download? No Best regards, Peter Am 11.04.2011 12:14, schrieb Romain Francois: I've also updated the skeleton generator so that loadRcppModules is used by the t

Re: [Rcpp-devel] loadRcppModules

2011-04-11 Thread schattenpflanze
That sounds fantastic, thank you! Is the new version already available for download? Best regards, Peter Am 11.04.2011 12:14, schrieb Romain Francois: I've also updated the skeleton generator so that loadRcppModules is used by the the package that is generated. However, it should be noted t

Re: [Rcpp-devel] loadRcppModules

2011-04-11 Thread Romain Francois
I've also updated the skeleton generator so that loadRcppModules is used by the the package that is generated. However, it should be noted that things are directly exported into the namespace, where before only the module was exported. So when you do: > Rcpp.package.skeleton( "testmod", modul

[Rcpp-devel] loadRcppModules

2011-04-11 Thread Romain Francois
Hello, I've added an experimental feature to Rcpp minutes ago. This is to simplify (yet again) dealing with modules. Now, when one wants to use C++ functions and classes that are declared in a module, the only things you have to do are: * declare them in the "RcppModules" field of DESCRIPTIO