cpp11eigen 0.1.0 is available on CRAN

R
Statistics
Linear algebra
Linear models
The idea is to pass matrices/vectors from R to C++, write pure C++/Eigen code for the computation, and then export the result back to R with the proper data structures.
Author

Mauricio “Pachá” Vargas S.

Published

August 26, 2024

The goal of cpp11eigen is to provide a novel approach to use the Eigen C++ library by using the header-only cpp11 R package and to simplify things for the end-user.

Features

  • Elemental dense matrices and vectors conversion from R to C++ and vice versa.
  • Package template with a complete examples.
  • Detailed documentation.
  • Uses Eigen version 3.4.0.

Installation

You can install the development version of cpp11eigen like so:

remotes::install_github("pachadotdev/cpp11eigen")

Source code

The source code is available on GitHub.