Expand description
Macros for generating wrappers for rust functions.
Macros§
- R
- Execute R code by parsing and evaluating tokens.
- Rraw
- Execute R code by parsing and evaluating tokens but without expanding parameters.
- call
- Call a function or primitive defined by a text expression with arbitrary parameters. This currently works by parsing and evaluating the string in R, but will probably acquire some shortcuts for simple expressions, for example by caching symbols and constant values.
- extendr_
module - Define a module and export symbols to R Example:
- impl_
try_ from_ robj_ tuples - list
- Create a List R object from a list of name-value pairs.
- pairlist
- Create a Pairlist R object from a list of name-value pairs.
Attribute Macros§
- extendr
- The
#[extendr]
-macro may be placed on three items
Derive Macros§
- Into
Data Frame Row - Enable the construction of dataframes from arrays of structures.
- Into
Robj - Derives an implementation of
From<Struct> for Robj
andFrom<&Struct> for Robj
on this struct. - TryFrom
Robj - Derives an implementation of
TryFrom<Robj> for Struct
andTryFrom<&Robj> for Struct
on this struct.