use !grepl On Fri, Dec 4, 2009 at 2:43 PM, Peng Yu <pengyu...@gmail.com> wrote:
> On Fri, Dec 4, 2009 at 11:54 AM, Duncan Murdoch <murd...@stats.uwo.ca> > wrote: > > On 04/12/2009 12:52 PM, Peng Yu wrote: > >> > >> The external grep program has an option -v to select non-matching > >> lines. I'm wondering if how to exclude certain patterns in grep() in > >> R? > >> > > > > ?grep > > I don't see which argument to use. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve? [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.