#RcppArmadillo
Quick #rstats port with {RcppArmadillo} (CPU) + {torch} (GPU) of the new bees knees {emeans} clustering algorithm that is a drop-in replacement for k-means.

github.com/coatless-rpk...

FAIR implementation (Python): github.com/facebookrese...
ArXiV: arxiv.org/abs/2611.09501
GitHub - coatless-rpkg/emeans: E-means clustering for R: a fast mini-batch alternative to k-means
E-means clustering for R: a fast mini-batch alternative to k-means - coatless-rpkg/emeans
github.com
November 12, 2026 at 1:52 AM
Dirk Eddelbuettel: prrd 0.1.0 at CRAN: Now With Real Concurrency
A new release of prrd arrived at CRAN today, and has already been built for r2u and on r-universe. The prrd package facilitates the _parallel running [of] reverse dependency [checks]_ when preparing R packages. It is used extensively for releases I make of Rcpp, RcppArmadillo, RcppEigen, BH, and others. The key idea of prrd is simple, and described in some more detail on its webpage and its GitHub repo. Reverse dependency checks are an important part of package development that is easily done in a (serial) loop. But these checks are also generally _embarassingly parallel_ as there is no or little interdependency between them (besides maybe shared build depedencies). See the (somewhat dated) screenshot (running six parallel workers, arranged in a split byobu session). This release updates internals to allow for greater concurrency. SQLite is used as the backend, both for the job queue (managed via the liteq package) as well as for storing actual reverse-dependency test results. It is well-known that SQLite copes quite well with multiple _readers_. Multiple concurrent _writers_ are more challenging. We tended to get by via `BEGIN EXCLUSIVE` pragma use, but still get occassional issue even at a somewhat moderate concurrency levels. After some back and forth and trying a few approaches, more recently we established one first solution relying on very explicity (OS-level, filesystem-based) locking via package filelock. That worked. We mentioned this in an old liteq issue that had circled around the same question with a number of posts over the years, but no resolution. This comment seemingly awoke Gábor, and he nailed this years-open issue with a fine pull request deploying `BEGIN IMMEDIATE` and well as a loop around `tryCatch` to not immediately fail. I borrowed/ported that approach to prrd and we now have a second solution (and no longer need filelock). On a somewhat better server with enough cores and memory, I am now running eighteen concurrent workers—watched via three multi-pane byobu windows. Works like a charm without issues. At last! A big thanks to Gábor for finding another solution, and especially that only relies on SQLite. The release is summarised in the NEWS entry: > #### Changes in prrd version 0.1.0 (2026-11-07) > > * Concurrent operations are now supported via updated sqlite semantics borrowed with appreciation from liteq > > * This follows an interim solution relying on filelock use; however this later package is not needed so no increase in dependencies > > Courtesy of my CRANberries, there is also a diffstat report for this release. This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
dirk.eddelbuettel.com
November 7, 2026 at 10:53 PM
RcppArmadillo 15.6.2-1 on CRAN: New Upstream
R bindings to powerful and expressive C++ matrix library
dirk.eddelbuettel.com/blog/2026/10...
#rcpp #rstats
October 17, 2026 at 9:51 PM
Dirk Eddelbuettel: RcppArmadillo 15.6.2-1 on CRAN: New Upstream
Armadillo is a powerful and expressive C++ template library for linear algebra and scientific computing. It aims towards a good balance between speed and ease of use, has a syntax deliberately close to Matlab, and is useful for algorithm development directly in C++, or quick conversion of research code into production environments. RcppArmadillo integrates this library with the R environment and language–and is widely used by (currently) 1370 other packages on CRAN, downloaded 49.4 million times (per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint / vignette) by Conrad and myself has been cited 735 times according to Google Scholar. This versions updates to the 15.6.2 upstream Armadillo release made yesterday. It, along with 15.6.1 release we incorporated earlier, addresses only minor issues and should not present any user-facing changes. As usual, we did run full reverse-depdency checks against the over 1300 ackages, and did not find anything. As usual, we aim to accommodate the desired CRAN cadences for uploads and try not to exceed six in six months—so we did not ship 15.6.1-1 there. The package has also already been updated for Debian, built for r2u and r-universe, and will build shortly at CRAN for the different binary releases. All changes since the last CRAN release follow. > #### Changes in RcppArmadillo version 15.6.2-1 (2026-10-16) > > * Upgraded to Armadillo release 15.6.2 (Medium Roast Cortado) > > * Faster inplace addition of `eye()` expressions > > > #### Changes in RcppArmadillo version 15.6.1-1 [github-only] (2026-10-02) > > * Upgraded to Armadillo release 15.6.1 (Medium Roast Cortado) > > * Fix for failures in `pinv()` when using the (non-default) "std" method > Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the Rcpp R-Forge page. This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
dirk.eddelbuettel.com
October 17, 2026 at 10:25 PM
CRAN updates: bifrost ggpath RcppArmadillo readxl rsvd #rstats
October 17, 2026 at 8:02 AM
Updates on CRAN: arsenal (3.7.4), ascent (0.5.0), bifrost (0.2.2), command (0.3.0), ggpath (1.1.2), RcppArmadillo (15.6.2-1), readxl (1.6.0), rsvd (1.0.6), statsExpressions (2.2.0), tramvs (0.0-10)
October 17, 2026 at 12:37 PM
RcppArmadillo 15.6.0-1 on CRAN: New Upstream Minor
R bindings to powerful and expressive C++ matrix library
dirk.eddelbuettel.com/blog/2026/09...
#rstats #rcpp
September 8, 2026 at 3:34 PM
Dirk Eddelbuettel: RcppArmadillo 15.6.0-1 on CRAN: New Upstream Minor
Armadillo is a powerful and expressive C++ template library for linear algebra and scientific computing. It aims towards a good balance between speed and ease of use, has a syntax deliberately close to Matlab, and is useful for algorithm development directly in C++, or quick conversion of research code into production environments. RcppArmadillo integrates this library with the R environment and language–and is widely used by (currently) 1331 other packages on CRAN, downloaded 48.5 million times (per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint / vignette) by Conrad and myself has been cited 727 times according to Google Scholar. This versions updates to the 15.6.0 upstream Armadillo release made yesterday. It extends solver options for poorly conditioned systems, and brings some updates and extension to the `cube` data type. For this release, we once again ran the usual complete reverse-dependency check which came back spotless, and did CRAN so no email exchange needed despite nearly 1300 reverse dependencies (but it ended up taking more than a single business day). Still, automation can be helpful when used with a well-maintained software stack. The package has also already been updated for Debian, built for r2u and r-universe, and will build shortly at CRAN for the different binary releases. All changes since the last CRAN release follow. > #### Changes in RcppArmadillo version 15.6.0-1 (2026-09-07) > > * Upgraded to Armadillo release 15.6.0 (Medium Roast Cortado) > > * Expanded `solve()` with `solve_opts::scale_thresh` option to widen detection of poorly conditioned systems > > * Expanded `trans()` and `.t()` to handle cubes > > * Added `permute()` to rearrange dimensions of cubes (generalised transpose) > > * Added `cubemul()` for batched matrix multiplication of cube slices > > Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the Rcpp R-Forge page. This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
dirk.eddelbuettel.com
September 8, 2026 at 5:12 PM
Updates on CRAN: magentabook (0.1.1), mpshock (0.1.1), omopgenerics (1.4.2), predictset (0.4.0), RcppArmadillo (15.6.0-1), rintcal (1.4.2), sense (1.2.0), Sequential (4.6.2), TestDesign (1.7.1), tidyllm (0.6.0), tidySEM (0.2.12)
September 8, 2026 at 1:21 PM
CRAN updates: censored distributional ECGofTestDx FactoMineR kfda omopgenerics RcppArmadillo rintcal sense Sequential #rstats
September 8, 2026 at 6:02 AM
Dirk Eddelbuettel: prrd 0.0.7 at CRAN: Maintenance
A new minor release of prrd arrived at CRAN this morning: the a first release in two and a half years. prrd facilitates the _parallel running [of] reverse dependency [checks]_ when preparing R packages. It is used extensively for releases I make of Rcpp, RcppArmadillo, RcppEigen, BH, and others. The key idea of prrd is simple, and described in some more detail on its webpage and its GitHub repo. Reverse dependency checks are an important part of package development that is easily done in a (serial) loop. But these checks are also generally _embarassingly parallel_ as there is no or little interdependency between them (besides maybe shared build depedencies). See the (dated) screenshot (running six parallel workers, arranged in a split byobu session). This release updates continuous intgegration files, switches to Authors@R, and robustifies one SQLite aspect. The release is summarised in the NEWS entry: > #### Changes in prrd version 0.0.7 (2026-08-27) > > * Updates to DESCRIPTION have been made as CRAN requirements change > > * The continuous integration setup was updated several times > > * The database connection now uses sqliteSetBusyHandler > > Courtesy of my CRANberries, there is also a diffstat report for this release. This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.
dirk.eddelbuettel.com
August 27, 2026 at 8:54 PM
DyadiCarma, utilizing Rcpp and RcppArmadillo for high-performance computing. An independent R-based matrix packing module, supported by C++ code, is also provided. [8/8 of https://arxiv.org/abs/2505.08144v1]
May 14, 2025 at 6:04 AM
But for instance many R packages use OpenMP, e.g. RcppArmadillo as an option. It's internal, so the user need not know OMP, but as was pointed out in this thread, ignorance may not be bliss.

Still a can of worms. :-)

7/7
February 12, 2025 at 2:02 AM
CRAN updates: polykde RcppArmadillo #rstats
July 25, 2026 at 8:02 PM