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]),]
posted @ 2017-03-28 11:03  holy_black_cat  阅读(14642)  评论(0编辑  收藏  举报