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