handling non STRSXP/INTSXP names/row.names