Skip to content
Prev 5472 / 10988 Next

[Rcpp-devel] Sample function(s) for inclusion in RcppArmadillo

On 12 March 2013 at 10:59, Conrad S wrote:
| >         #include <extensions/sample.h>
| > which is not expressive enough. I think we should go for something like boost
| > where we have to do
| >         #include <RcppArmadillo/extensions/sample.h>
| > but that would require a directory
| >         (inst)/include/RcppArmadillo/RcppArmadillo/extensions/sample.h
| >
| > which reads silly.   Hm.
| > Better suggestions, anyone?
| 
| How about simply <RcppArmadillo_extensions.h>, which includes all extensions ?

Not bad. I settled for RcppArmadilloExtensions/ so that we'll have (at least
for this one)

   #include <RcppArmadilloExtensions/sample.h>

Dirk