[Rd] Caching bug with showMethods?
Seth Falcon
sfalcon at fhcrc.org
Wed Oct 18 22:29:23 CEST 2006
John Chambers <jmc at r-project.org> writes:
> If showMethods() were extended in this way but consistent with its
> behavior now, you would potentially get a mess (and do a lot of
> computation). Any method with "ANY" in any element of its signature
> qualifies (in particular, all default methods). And if you said
> inherited=TRUE, but did NOT give a limiting class---!
>
> I think the definition you want is to find all methods for which one
> of the superclasses of "B" appears explicitly in a signature, but
> excluding "ANY" from the superclasses used. That's quite a different
> (and longer) calculation than showMethods() does, but could indeed be
> useful.
Yes, I think excluding "ANY", but including "B" and any of its
superclasses is what would be most useful. I realize it will take
longer to compute, but I do think it would be a useful tool.
+ seth
More information about the R-devel
mailing list