R语言提取包含某字符串的行变量

已解决,用grep函数
A=read.table("clipboard",sep="/t",header=T)
A[grep(pattern="/resource/activity",A[,1]),]