Skip to main content

str_to_charsxp

Function str_to_charsxp 

Source
pub(crate) fn str_to_charsxp(s: &str) -> SEXP
Expand description

Helper to convert a string slice to R CHARSXP. Uses UTF-8 encoding. Empty strings return R_BlankString (static, no allocation).