[Rd] Method dispatch fails for autoloaded methods (PR#642)

Thomas Lumley thomas@biostat.washington.edu
Thu, 24 Aug 2000 10:08:09 -0700 (PDT)


On Thu, 24 Aug 2000 maechler@stat.math.ethz.ch wrote:

> (As mentioned before, on R-devel)
> 
> This code snippet shows what the Subject above says :

The problem is that isFunction is false for diff.ts, since it is only a
promise, not a function.

I think the solution is for usemethod to force the promise (in lines 225ff
of objects.c), but I'm not sure how to do this.

	-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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._