[Rcpp-devel] finding plugins

Dirk Eddelbuettel edd at debian.org
Sat Dec 1 22:26:19 CET 2018


Yep:

 - usage with inline (the package) != usage with Rcpp Attributes.

 - usage with cppFunction != usage with sourceCpp

 - usage with sourceCpp != usage with packages

I wish this was simpler, but this simply is the cognitive cost of having
developed this over multiple years.  Sometimes things change, folks often see
one of the older approaches and stick with those.

The cleanest (but maybe most laborious) way would be to create mini-packages
with your benchmark code.  One each for Armadillo, Eigen, ...

The run those with/without optimised blas, multithreaded blas, ...

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org


More information about the Rcpp-devel mailing list