1 unstable release

new 0.8.0 Apr 7, 2025

#6 in #extendr

Download history 61/week @ 2025-04-01

64 downloads per month
Used in 5 crates (3 directly)

MIT license

94KB
1.5K SLoC

Low level bindings to R's C API

extendr-ffi powers the extendr-api library.


extendr-ffi

extendr-ffi is a hand curated subset of the bindings provided by libR-sys. Supporting R version 4.2 and onwards. extendr-ffi provides backports to ensure that extendr-api can be used across multiple versions of R.

Motivation

extendr has historically relied on libR-sys to interface with R's C API. As R has moved towards standardizing and stabilizing the C API, relying on libR-sys' generated bindings has presented challenges. Among them are that the bindings are cumbersome to generate, platform specific, and does not provide backports to address the maturing R C API.

Dependencies