extendr
  • INSTALL
  • DOCS
    • User Guide
    • {extendr} crates
    • {rextendr} package
    • Intro to Rust
    • Contributing
  • NEWS

Build blazingly fast R packages with Rust

Use tools that put developers first.
Get support for publishing to CRAN.

Github Actions Build Status Crates.io Documentation License: MIT

  • init
  • ls examples/
  • --help

Get Started
Build your first Rust-powered R package in minutes.

# setup R package
usethis::create_package("helloextendr")

# add extendr scaffolding
rextendr::use_extendr()

# build and document package
devtools::document()

# call rust function
hello_world()
#> "Hello world!"

For more information, check out our installation and user guides.

→ Installation Guide
→ User Guide

See What’s Possible
Explore R packages built with extendr. From high-performance data processing to system integrations, see what the community has built.

→ Browse awesome-extendr

Join the Community
extendr has a welcoming and active community of R and Rust developers. Come ask questions, share your work, or just hang out.

→ Discord
→ GitHub

  • Edit this page
  • Report an issue