logo
Expand description

R object handling.

See. https://cran.r-project.org/doc/manuals/R-exts.html

Fundamental principals:

  • Any function that can break the protection mechanism is unsafe.
  • Users should be able to do almost everything without using libR_sys.
  • The interface should be friendly to R users without Rust experience.

Re-exports

pub use iter::*;

Structs

Wrapper for an R S-expression pointer (SEXP).

Traits

Generic access to typed slices in an Robj.

These are helper functions which give access to common properties of R objects.

Trait used for incomming parameter conversion.

The following impls add operators to Robj.

The following impls wrap specific Rinternals.h functions.

Extensions to iterators for R objects including RobjItertools::collect_robj().

ToVectorValue is a trait that allows many different types to be converted to vectors. It is used as a type parameter to collect_robj().