Skip to content

Is there a way to deactivate partial matching in R?

1 message · Brian Ripley

#
[Moved to R-devel, as that is where `wishlist' items fit best.]

It is not currently possible.  Furthermore, the R base code is riddled
with uses of partial argument matching (check out the uses of rep(), for
example) and partial list matching, although from time to time I try to 
eradicate a bunch of them.

I don't see why in programatic uses of R you cannot always guarantee exact
matching (which will always win), if necessary by having ... as the first
formal argument to your function.  Can you give us an example of the need
to disable partial matching?
On Fri, 27 Feb 2004, "Jens Oehlschl?gel" wrote: