[Rcpp-devel] Sample function(s) for inclusion in RcppArmadillo
Dirk Eddelbuettel
edd at debian.org
Tue Mar 12 03:08:51 CET 2013
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
--
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel
mailing list