[Rd] methods(`|`) lists all functions?
frederik at ofb.net
frederik at ofb.net
Fri Dec 9 03:47:16 CET 2016
On Thu, Dec 08, 2016 at 09:37:59PM -0500, Martin Morgan wrote:
> On 12/08/2016 05:16 PM, frederik at ofb.net wrote:
> > Dear R-Devel,
> >
> > I was attempting an exercise in Hadley Wickam's book "Advanced R". The
> > exercise is to find the generic with the greatest number of methods.
> >
> > I found that 'methods(`|`)' produces a list of length 2506, in R
> > 3.3.1. Similar behavior is found in 3.4.0. It seems to include all
> > functions and methods. I imagine something is being passed to "grep"
> > without being escaped.
>
> Exactly; I've fixed this in r71763 (R-devel).
>
> Martin Morgan
Thank you.
More information about the R-devel
mailing list