Skip to main content

Rf_topenv

Function Rf_topenv 

Source
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 3726, column 8. Generated from source file miniextendr-api/src/ffi.rs.