Displaying 1 result from an estimated 1 matches for "printlength".
2004 Oct 08
1
Function _coerce_ in _setIs_ never entered (S4).
Hi,
Please consider the following trivial example.
In the sample code I first define a class MVCa using composition. This
class contains a slot of type list.
Next I define an inheritance relation using the function setIs -> MVCa
"is a" list.
Then I define a function printlength which prints the list-length which
is defined for the type "list".
If I call this function assigning to their argument an object of class
MVCa I would expect that the function _coerce_ defined in setIs will be
called.
It seems that this never happens using:
R : Copyright 2004, The R F...