From: <aubert_at_inapg.fr>

Date: Thu 08 Jul 2004 - 17:20:44 EST

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 08 17:26:55 2004

Date: Thu 08 Jul 2004 - 17:20:44 EST

Let me present to you my problem :

For example, x=nom, pattern="b", I would to obtain 2 because "b" is on the second position.

First program :

nom <- c("a","b","ab")

grep("b",nom)

2 3

Then I try the option extended =FALSE (instead of TRUE by default) and I obtain '2 3' a second time.

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jul 08 17:26:55 2004

*
This archive was generated by hypermail 2.1.8
: Fri 18 Mar 2005 - 02:35:00 EST
*