pub(crate) fn str_to_character(s: &str) -> SEXPExpand description
Returns an CHARSXP based on the provided &str.
Note that R does string interning, thus repeated application of this function on the same string, will incur little computational cost.
Note, that you must protect the return value somehow.