From frederik at ofb.net  Fri Dec  9 03:47:16 2016
From: frederik at ofb.net (frederik at ofb.net)
Date: Thu, 8 Dec 2016 18:47:16 -0800
Subject: [Rd] methods(`|`) lists all functions?
In-Reply-To: <5d9ae4e0-85d1-daa4-a57e-0c5e6681ae12@roswellpark.org>
References: <20161208221610.GJ6368@ofb.net>
	<5d9ae4e0-85d1-daa4-a57e-0c5e6681ae12@roswellpark.org>
Message-ID: <20161209024716.GP6368@ofb.net>

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.



[Rd] methods(`|`) lists all functions?
frederik at ofb.net