From pperkins@ucsd.edu  Wed Oct 11 18:25:04 2000
From: pperkins@ucsd.edu (pperkins@ucsd.edu)
Date: Wed, 11 Oct 2000 19:25:04 +0200 (MET DST)
Subject: [Rd] documentation bug in grep (PR#692)
Message-ID: <200010111725.TAA24663@pubhealth.ku.dk>

Full_Name: Peter Perkins
Version: 1.1.1
OS: LinuxPPC
Submission from: (NULL) (24.4.89.36)


the man page for grep mistakenly says "gsub" whn it should say "grep"
in the Details section of grep.Rd.  a diff -u with a corrected version
follows:

diff -u R-1.1.1/src/library/base/man/grep.Rd grep.Rd-new
--- R-1.1.1/src/library/base/man/grep.Rd	Wed Apr 19 08:51:19 2000
+++ grep.Rd-new	Wed Oct 11 10:16:43 2000
@@ -46,7 +46,7 @@
   \code{extended} argument.
 }
 \value{
-    For \code{gsub} a vector giving either the indices of the elements
+    For \code{grep} a vector giving either the indices of the elements
     of \code{x} that yielded a match or, if \code{value} is \code{TRUE},
     the matched elements.
 


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] documentation bug in grep (PR#692)
pperkins@ucsd.edu