From thomas@biostat.washington.edu  Thu Aug 24 18:08:09 2000
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Thu, 24 Aug 2000 10:08:09 -0700 (PDT)
Subject: [Rd] Method dispatch fails for autoloaded methods (PR#642)
In-Reply-To: <200008241508.RAA24536@pubhealth.ku.dk>
Message-ID: <Pine.GSO.4.21.0008241005070.19023-100000@atlas.biostat.washington.edu>

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


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