Skip to main content

Rf_topenv

Function Rf_topenv 

Source
pub unsafe fn Rf_topenv(target: SEXP, envir: SEXP) -> SEXP
Expand description

Get the top-level environment.

Walks up enclosing environments until reaching a top-level env (global, namespace, or base). Checked wrapper for Rf_topenv. Calls Rf_topenv_unchecked and routes through with_r_thread. Generated from source location line 2077, column 12. Generated from source file miniextendr-api/src/sys.rs.