Skip to content

hellorust

Minimal Examples of Using Rust Code in R

v1.2.3 · Mar 17, 2025 · MIT + file LICENSE

Description

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'.

Downloads

CRAN

260

Last 30 days

16236th

747

Last 90 days

3.2K

Last year

Trend: +36.1% (30d vs prior 30d)

r2u CRAN

40

Last 30 days

121

Last 90 days

423

Last year

Trend: -20% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

10 tracked
new 1.2.3 Mar 10, 2026
updated 1.2.3 ← 1.2.2 diff Mar 16, 2025
updated 1.2.2 ← 1.2.1 diff Sep 21, 2024
updated 1.2.1 ← 1.2.0 diff Sep 19, 2024
updated 1.2.0 ← 1.1.1 diff Oct 10, 2023
updated 1.1.1 ← 1.1.0 diff Aug 11, 2023
updated 1.1.0 ← 1.0.2 diff Aug 6, 2023
updated 1.0.2 ← 1.0.1 diff Jun 7, 2023
updated 1.0.1 ← 1.0.0 diff Nov 27, 2022
new 1.0.0 Nov 20, 2022