Re: [Rd] confused by inheritance...

2006-05-23 Thread Peter Ruckdeschel
> This may be related to the problems with "greedy" search for inherited > methods discussed previously on this list (or may not, it's a bit > different). Thank you very much for your explanation --- at least this is not a silly fault from our side! > In any case, the likely fix will be a subst

Re: [Rd] confused by inheritance...

2006-05-23 Thread John Chambers
This may be related to the problems with "greedy" search for inherited methods discussed previously on this list (or may not, it's a bit different). In any case, the likely fix will be a substantial cleaning up of generic functions hoped for in the next release. Meanwhile, "Keep it simple" is

[Rd] confused by inheritance...

2006-05-22 Thread Peter Ruckdeschel
Hi r-devels, I am stuck in some S4 inheritance problem: setClass("A",representation(a="numeric")) setClass("A1",representation(b="numeric"),contains="A") setClass("A2",representation(c="numeric"),contains="A1") if(!isGeneric("foo")){ setGeneric("foo", function(x,y,z, ...) standardGeneric("fo