[Rd] Documentation in merge() in base package: mistake and fix (PR#10761)

roland.rau at duke.edu roland.rau at duke.edu
Fri Feb 15 00:30:25 CET 2008


Full_Name: Roland Rau
Version: 2.6.0
OS: mingw32
Submission from: (NULL) (152.3.243.170)


There is a minor problem in the documentation of the function merge in the base
package. The corresponding file is .../src/library/base/man/merge.Rd

?merge states
[...]
all logical; all = L is shorthand for all.x = L and all.y = L. 
[...]

Although I am pretty sure it should be:
[...]
all logical; all = T is shorthand for all.x = T and all.y = T. 
[...]

Should be simple to fix:
sed -i 's/ = L/ = T/g' merge.Rd

Although I don't use the latest version of R, I checked the source code of the
latest version (2.6.2) and also the page https://svn.r-project.org/R/trunk/NEWS
to check if it has been fixed already.

I hope this helps,
Roland



More information about the R-devel mailing list