An 'Armadillo' Interface
Overview
Provides function declarations and inline function definitions that facilitate communication between R and the 'Armadillo' 'C++' library for linear algebra and scientific computing. This implementation is derived from Vargas Sepulveda and Schneider Malamud (2024) doi:10.1016/j.softx.2025.102087. The shipped version of the 'Armadillo' library is version 15.4.2 "Medium Roast Agave".
- From now I will follow the version number of the shipped armadillo version.
- Using Armadillo 15.4.2.
- I am now using
litedownandtinyroxygenfor the documentation.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 6 (2 internal)includes a package overview page
- Examples that run
- 100%4 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- 01 - Basic 'armadillo4r' usage
- 02 - Armadillo configuration
- 03 - Converting between R and Armadillo types
- 04 - Syntax comparison for MATLAB/Octave users
- 05 - Sparse matrices
- 06 - Matrix, vector, cube and field classes
- 07 - Member functions and variables
- 08 - Functions of vectors, matrices, and cubes
- 09 - Generated vectors, matrices, and cubes
- 10 - Decompositions, factorisations, inverses and equation solvers (dense matrices)
Show 7 moreHide 7 vignettes
- 11 - Decompositions, factorisations, inverses and equation solvers (sparse matrices)
- 12 - Statistics and clustering
- 13 - Signal and image processing
- 14 - Saving and loading Armadillo objects on C++ side
- 15 - Using SEXP with Armadillo data types
- 16 - Fitting regressions with Armadillo
- 17 - Miscellaneous
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 39
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Issues over time
Commits over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/pachadotdev/armadillo4r on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
GitHub Pages site last deployed 2026-09-07
Show all practicesHide 1 practice
Dependencies
Installing armadillo4r adds 1 package (0 with compiled code, 203 KB of source tarballs). Heaviest: cpp4r 203 KB.
Code & Tests
People & History
Package metadata
- First published
- 2025-11-03
- Total releases
- 6 / 1 yrs
- License
- Apache License 2.0 OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("armadillo4r")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.