Re: [Rd] Inheritance before ANY...

2009-06-10 Thread Martin Maechler
> "CG" == Christophe Genolini > on Tue, 09 Jun 2009 22:11:51 +0200 writes: CG> Hi all, CG> I am programming using S4. I define two classes, "B" is inheriting from CG> "A". Apparently (at least since version 2.9.0 ?), when the correct CG> signature is not find, CG

[Rd] Inheritance before ANY...

2009-06-09 Thread Christophe Genolini
Hi all, I am programming using S4. I define two classes, "B" is inheriting from "A". Apparently (at least since version 2.9.0 ?), when the correct signature is not find, R prefers to chose a signature in the ancestor BEFORE a signature in the class. This is very strange to me... If I define p