with_r

Function with_r 

Source
pub fn with_r<T, E>(f: impl FnOnce() -> Result<T, E>) -> Result<T, E>
Expand description

Ensures that an embedded R instance is present when evaluating f.