Skip to main content

set_names_on_sexp

Function set_names_on_sexp 

Source
pub(crate) unsafe fn set_names_on_sexp<S: AsRef<str>>(sexp: SEXP, keys: &[S])
Expand description

Set names attribute on an R SEXP from a slice of name-like values.

ยงSafety

sexp must be a valid, protected SEXP. Caller must manage protect stack.