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