Creating an R package with C++ and Armadillo code (video)

Here I explain how to create an R package with C++ and Armadillo code. I am aware that most R users use Windows, so I start by installing R and the RTools (required to compile C++ code), and then I show you how to use the package template I provide with armadillo4r.
Author

Mauricio “Pachá” Vargas S.

Published

December 26, 2025

Here I explain how to create an R package with C++ and Armadillo code. I am aware that most R users use Windows, so I start by installing R and the RTools (required to compile C++ code), and then I show you how to use the package template I provide with armadillo4r.

If you like my blog, please consider donating to support my open source work

Buy me a coffee

You can send questions for the blog using this form and subscribe to receive an email when there is a new post.