fn factor_to_character(v: &RVector) -> Result<RValue, RError>
Convert a factor (integer codes + levels attr) to a character vector of labels.