已解决,用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]),] |
本文介绍如何利用grep函数从剪贴板读取的数据中筛选包含特定模式的行。通过示例展示了如何设置pattern参数来匹配目标字符串,适用于快速查找或处理文本数据。
已解决,用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]),] |
611

被折叠的 条评论
为什么被折叠?