cpp11armadillo 0.3.0 is available on CRAN
The idea is to pass matrices/vectors from R to C++, write pure C++/Armadillo code for the computation, and then export the result back to R with the proper data structures.
The goal of cpp11armadillo is to provide a novel approach to use the Armadillo C++ library by using the header-only cpp11 R package and to simplify things for the end-user.
New features
- Completely rewritten documentation, which now aims to cover all the essentials to get started with C++ and Armadillo.
- New examples, which are clearer and more informative.
- New Makevars template with commented debbuging flags and that allows to set the number of cores.
- Uses Armadillo version Cortisol Retox 12.6.7.
Installation
You can install the development version of cpp11armadillo like so:
::install_github("pachadotdev/cpp11armadillo") remotes
Or from CRAN:
install.packages("cpp11armadillo")
Documentation and preprint
The preprint by Jonathan Schneider and yours truly is available at arXiv, and it covers the main features and the common pitfalls that R users might encounter when using C++.
The documentation is available on the pkgdown site.
Source code
The source code is available on GitHub.