Skip to main content

r_initialized_sentinel

Function r_initialized_sentinel 

Source
pub fn r_initialized_sentinel() -> bool
Expand description

Check whether Rf_initialize_R has run by inspecting stack sentinels.

R_CStackStart/R_CStackDir are set during R initialization on the main thread. A zero or usize::MAX value indicates “not initialized”.