[R] grep() exclude certain patterns?

Peng Yu pengyu.ut at gmail.com
Fri Dec 4 20:43:05 CET 2009


On Fri, Dec 4, 2009 at 11:54 AM, Duncan Murdoch <murdoch at 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.




More information about the R-help mailing list