Skip to contents

Compiling and running Rust code

rust_source() rust_function()
Compile Rust code and call from R
rust_eval()
Evaluate Rust code
eng_extendr() eng_extendrsrc()
Knitr engines

Package development

use_extendr()
Set up a package for use with Rust extendr code
document()
Compile Rust code and generate package documentation.
register_extendr()
Register the extendr module of a package with R
clean()
Clean Rust binaries and package cache.

Various utility functions

to_toml()
Convert R list() into toml-compatible format.
make_module_macro()
Generate extendr module macro for Rust source