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 plot for ("A",missing) and ("B",ANY), calling
plot("B",missing), I would expect R to chose plot("B",ANY) before
plot("A",missing)
Sincerely
Christophe
------------------ (translate from french) --------
Note : method with signature "A#missing" chose for function "plot",
signature cible "B#missing".
"B#ANY" could also be compatible
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel