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

[This article was first published on https://pacha.dev/blog, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
pacha.dev/blog

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.

Loading…

To leave a comment for the author, please follow the link and comment on their blog: https://pacha.dev/blog.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)