[Rd] Methods package: One of those strategy questions

Thomas Lumley tlumley@u.washington.edu
Tue, 13 Nov 2001 09:07:43 -0800 (PST)


On Tue, 13 Nov 2001, John Chambers wrote:

> I had better mention this one separately, since until it's settled you
> need a workaround.
>
> If you define methods for primitives now, this does NOT create an
> explicit generic function for, say, "[", so that the original primitive
> computations still run.
>
> This means that the method dispatch has to be turned on for that
> function somehow else.

Is this true whenever you define a method for a primitive or only if
that primitive hasn't already got methods defined for it?

	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._