Skip to main content

R_GetCurrentEnv

Function R_GetCurrentEnv 

Source
pub(crate) unsafe fn R_GetCurrentEnv() -> SEXP
Expand description

Return the current execution environment (innermost closure on call stack, or R_GlobalEnv if none). Checked wrapper for R_GetCurrentEnv. Calls R_GetCurrentEnv_unchecked and routes through with_r_thread. Generated from source location line 2566, column 19. Generated from source file miniextendr-api/src/ffi.rs.