Skip to main content

col_name

Function col_name 

Source
unsafe fn col_name(names_sexp: SEXP, i: isize) -> Option<&'static str>
Expand description

Read the i-th column name from a STRSXP names vector, as a name lookup reads it (crate::list::text_name): a Latin-1 name is translated, and NA or a name that is not text (marked as bytes) is None, which no lookup matches.

ยงSafety

names_sexp must be a valid STRSXP with at least i + 1 elements.