Skip to main content

scalar_string

Function scalar_string 

Source
fn scalar_string(s: &str) -> SEXP
Expand description

Create a scalar R character string from a Rust &str.

The returned SEXP is unprotected — caller must protect if further allocations will occur before use.