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

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

  

已解决,用grep函数
A=read.table("clipboard",sep="/t",header=T)
A[grep(pattern="/resource/activity",A[,1]),]
原文地址:https://www.cnblogs.com/awishfullyway/p/6632795.html