[R] Not-In operator

Erik Iverson eriki at ccbr.umn.edu
Mon Jun 28 22:55:17 CEST 2010

Giving a reproducible example would likely lead to a solution quickly.

Colton Hunt wrote:
> I would like to use grep to return all the lines of a data frame that do not
> contain the letters HD. I have tried the ^ inside brackets as well as !. The
> data frame is one column consisting of spaces,numbers, and letters with
> several thousand rows.
> Thank you!
> Colton
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at 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.

More information about the R-help mailing list