Writing R Extensions in Rust

08/16/2021 ∙ by David B. Dahl, et al. ∙ 0

This paper complements "Writing R Extensions," the official guide for writing R extensions, for those interested in developing R packages using Rust. It highlights idiosyncrasies of R and Rust that must be addressed by any integration and describes how to develop Rust-based packages which comply with the CRAN Repository Policy. This paper introduces the "cargo" framework, a transparent Rust-based API which wraps commonly-used parts of R's API with minimal overhead and allows a programmer to easily add additional wrappers.

READ FULL TEXT
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 2

page 3

page 4

Code Repositories

cargo-framework

A framework is provided to transparently develop R packages using Rust with minimal overhead, and more wrappers are easily added. Help is provided to run Cargo in a manner consistent with CRAN policies. Rust code can also be embedded directly in an R script.


view repo
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.