pub fn with_r<T, E>(f: impl FnOnce() -> Result<T, E>) -> Result<T, E>
Ensures that an embedded R instance is present when evaluating f.
f