Skip to content

RcppArmadillo

15.6.2-1Package record

'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library

1,370packages dependsuggested by 8
7.5Mdownloads / year
39.4%test coverage
13/13flavors OK

Overview

About

'Armadillo' is a templated C++ linear algebra library aiming towards a good balance between speed and ease of use. It provides high-level syntax and functionality deliberately similar to Matlab. It is useful for algorithm development directly in C++, or quick conversion of research code into production environments. It provides efficient classes for vectors, matrices and cubes where dense and sparse matrices are supported. Integer, floating point and complex numbers are supported. A sophisticated expression evaluator (based on template meta-programming) automatically combines several operations to increase speed and efficiency. Dynamic evaluation automatically chooses optimal code paths based on detected matrix structures. Matrix decompositions are provided through integration with LAPACK, or one of its high performance drop-in replacements (such as 'MKL' or 'OpenBLAS'). It can automatically use 'OpenMP' multi-threading (parallelisation) to speed up computationally expensive operations. The 'RcppArmadillo' package includes the header files from the 'Armadillo' library; users do not need to install 'Armadillo' itself in order to use 'RcppArmadillo'. Starting from release 15.0.0, the minimum compilation standard is C++14. Since release 7.800.0, 'Armadillo' is licensed under Apache License 2; previous releases were under licensed as MPL 2.0 from version 3.800.0 onwards and LGPL-3 prior to that; 'RcppArmadillo' (the 'Rcpp' bindings/bridge to Armadillo) is licensed under the GNU GPL version 2 or later, as is the rest of 'Rcpp'.

Changes in 15.6.2-1
  • Upgraded to Armadillo release 15.6.2 (Medium Roast Cortado)
  • Faster inplace addition of eye() expressions

From inst/NEWS.Rd in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 15.6.2-1
READMEYes · 563 wordsVignettesYes · 2 · staticNEWSYes · mentions 15.6.2-1Citation fileYes · cites a publicationWebsiteYes
Help pages
7includes a package overview page
Examples that run
50%1 run in a plain check · 1 never run
Exported functions with examples
33%
Documented parameters
99%
Return-value docs
83%
Help pages citing references
43%

Downloads

7.5M
CRAN downloads in the past year
Rank #110 · ~20.5K/day · ~622.1K/mo
Daily download trend is not available in this view yet.
648.2K30 days
1.8M90 days
7.5M1 year
Compare downloads with other packages →
Also on131.9K r2u222 autocran602.9K conda_forge6.2K c2d4u

Repository

210Stars
54Forks
6Open issues
0Open PRs
0Releases
1,723Commits
20Commit identities
rrcppc-plus-plusarmadillorcpparmadillor-package
1,723 commits · Last activity 2026-10-17 · -0.5% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
93%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-21 · 2052026-10-17 · 210
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/rcppcore/rcpparmadillo on 2026-10-11.

Continuous integration (1)
GitHub Actions
Coverage (2)
Coverage reporting (Codecov).covrignore
Lint, format, editor (1)
EditorConfig
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing RcppArmadillo adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (1)
R >= 3.3.0
Imports (4)
Rcppstatsutilsmethods
LinkingTo (1)
Enhances (0)
none

People & History

People (5)
Author, Maintainer since 0.1.0 (2010)
Author · added in 0.2.0
Author · added in 0.7.960.1.0
Author · added in 0.10.7.0.0
Releases (211)

Pick two releases to compare their code metrics.

Show 215 earlier eventsHide 215 earlier events
Across CRAN, the median accepted release of the past year spent 19 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2010-03-11
Total releases
211 / 16 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.3.0
Download size
1.0 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RcppArmadillo")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for RcppArmadillo version 15.6.2-1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy