pub fn eval_string_with_params(code: &str, values: &[&Robj]) -> Result<Robj>
Expand description
Parse a string into an R executable object and run it using parameters param.0, param.1, …
Used by the R! macro.
use extendr_api::prelude::*;
test! {
let res = eval_string_with_params("param.0", &[&r!(3.)]).unwrap();
assert_eq!(res, r!(3.));
}