如何使用索引字符串从R中的数据框或矩阵中提取行 [英]How to use a string of indices to extract rows from dataframe or matrix in R