Expand description
Backport functions
R’s C API is changing and is stabilizing. As such some functions
that were available in previous versions of R are not available
in later versions of R, or they cause a warning in R CMD check
.
Use the functions in this module to ensure backwards compatibility.
Functions§
- DATAPTR_
RO 🔒 ⚠ - R_
Closure 🔒 ⚠Body - R_
Closure 🔒 ⚠Env - R_
Closure 🔒 ⚠Formals - R_
Parent 🔒 ⚠Env - R_
getVar 🔒 ⚠ - R_
getVar 🔒 ⚠Ex - dataptr⚠
- Access a DATAPTR
- get_
closure_ ⚠body - Return the body of a closure
- get_
closure_ ⚠env - Return the environment of a closure
- get_
closure_ ⚠formals - Access a closure’s arguments
- get_
parent_ ⚠env - Returns the enclosing environment of env, which will usually be of type ENVSXP, except for the special environment R_EmptyEnv, which terminates the environment chain; its enclosing environment is R_NilValue.
- get_var⚠
- Returns a variable from an environment
- get_
var_ ⚠in_ frame - Returns the value of the requested variable in an environment