Re: [Rd] strange behaviour of callNextMethod in S4 methods

2010-09-26 Thread Vitally S.
Harold PETITHOMME writes: Hi, > > there is no more an error. > Why does my "object" disappear? I cannot reproduce your problem. Here is an example identical to yours: setClass("foo", list(a = "character", b = "numeric"), proto = 100, contains = "numeric") setClass("boo", list(c = "num

[Rd] strange behaviour of callNextMethod in S4 methods

2010-09-23 Thread Harold PETITHOMME
Hello, I experienced a strange behaviour of callNextMethod when used in either initialize or any other S4 function method definition. Help says callNextMethod calls the next inherited method for the current function from where it is called with the same actual (non missing) arguments. This is