hellorust

From MaRDI portal
Software:87075



CRANhellorustMaRDI QIDQ87075FDOQ87075

Minimal Examples of Using Rust Code in R

Authors of the Dependency Rust Crates, Jeroen Ooms

Last update: 11 October 2023

Copyright license: MIT license, File License

Software version identifier: 1.0.1, 1.0.0, 1.0.2, 1.1.0, 1.1.1, 1.2.0

Template R package with minimal setup to use Rust code in R without hacks or frameworks. Includes basic examples of importing cargo dependencies, spawning threads and passing numbers or strings from Rust to R. Cargo crates are automatically 'vendored' in the R source package to support offline installation. The GitHub repository for this package has more details and also explains how to set up CI. This project was first presented at 'Erum2018' to showcase R-Rust integration <https://jeroen.github.io/erum2018/>; for a real world use-case, see the 'gifski' package on 'CRAN'.





This page was built for software: hellorust