Skip to main content

Module functions

Module functions 

Source

Re-exportsΒ§

use crate as extendr_api; πŸ”’
use extendr_ffi::R_BaseNamespace; πŸ”’
use extendr_ffi::R_BlankScalarString; πŸ”’
use extendr_ffi::R_BlankString; πŸ”’
use extendr_ffi::R_NaString; πŸ”’
use extendr_ffi::R_NilValue; πŸ”’
use extendr_ffi::R_Srcref; πŸ”’
use extendr_ffi::R_dot_Generic; πŸ”’
use crate::*; πŸ”’

FunctionsΒ§

base_envDeprecated
The base environment; formerly R_NilValue
base_namespace
The namespace for base.
blank_scalar_string
β€œβ€ as a STRSXP
blank_string
β€œβ€ as a CHARSXP
current_envDeprecated
The current interpreter environment.
dot_generic
β€œ.Generic”
empty_envDeprecated
An empty environment at the root of the environment tree
eval_string
Parse a string into an R executable object and run it. Used by the R! macro.
eval_string_with_params
Parse a string into an R executable object and run it using parameters param.0, param.1, …
find_namespace
Find a namespace by name.
find_namespaced_function
Find a function or primitive that may be in a namespace.
global_envDeprecated
The β€œglobal” environment
global_function
Get a global function from global_env() and ancestors.
na_string
NA_STRING as a CHARSXP
new_env
Create a new environment
nil_value
The nil object
parseDeprecated
Parse a string into an R executable object
srcref
Current srcref, for debuggers