Skip to main content

R_getVarEx

Function R_getVarEx 

Source
pub unsafe fn R_getVarEx(
    sym: SEXP,
    rho: SEXP,
    inherits: Rboolean,
    ifnotfound: SEXP,
) -> SEXP
Expand description

Single-frame (inherits = FALSE) or inherited variable lookup with an ifnotfound default — the API-blessed replacement for Rf_findVarInFrame (R-exts; added in R 4.5.0, hence Depends: R (>= 4.5)). Longjmps if rho is not an environment or the binding is R_MissingArg; forces promises. Checked wrapper for R_getVarEx. Calls R_getVarEx_unchecked and routes through with_r_thread. Generated from source location line 907, column 12. Generated from source file miniextendr-api/src/sys.rs.