Function extendr_api::functions::global_env [−][src]
pub fn global_env() -> Robj
The "global" environment
use extendr_api::prelude::*; test! { global_env().set_local(sym!(x), "hello"); assert_eq!(global_env().local(sym!(x)), Some(r!("hello"))); }