>>>>> "Anupam" == Anupam Tyagi <[EMAIL PROTECTED]> >>>>> on Mon, 16 Oct 2006 18:15:06 +0000 (UTC) writes:
Anupam> Hi Stephane, Anupam> Stéphane CRUVEILLER <scruveil <at> genoscope.cns.fr> writes: >> is there a way to pass a list of patterns to the grep function? I >> vaguely remember something with %in% operator... Anupam> I think you are looking for the %in% and %nin% which Anupam> are part of Design package, and also in Hmisc Anupam> library. You have to install and load these packages Anupam> to access these functions. Hmm, '%in%' has been part of standard R for years ... Martin ______________________________________________ R-help@stat.math.ethz.ch 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.