Abstract
This article introduces ‘cpp11armadillo’, an R package that integrates the highly efficient Armadillo C++ linear algebra library with R through the ‘cpp11’ interface. Designed to offer significant performance improvements for computationally intensive tasks, ‘cpp11armadillo’ simplifies the process of integrating C++ code into R. This package is particularly suited for R users requiring efficient matrix operations, especially in cases where vectorization is not possible. Our benchmarks demonstrate substantial speed gains over native R functions and Rcpp-based setups.
Author supplied keywords
Cite
CITATION STYLE
Sepulveda, M. V., & Malamud, J. S. (2025). cpp11armadillo: An R package to use the Armadillo C++ library. SoftwareX, 30. https://doi.org/10.1016/j.softx.2025.102087
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.