There are number of examples in the documentation, as noted,
illustrating different situations.
Here is one of them. Of course, to "enter and run" it you need rev 52267.
---
setClass("classA", contains = "numeric",
representation(realData = "numeric"))
Math.classA <- function(x) {(get
On Sun, Jun 13, 2010 at 6:58 PM, John Chambers wrote:
> A general goal for the next version of R is to make S4 and S3 play better
> together.
>
> As mentioned in a previous thread, one limitation has been that S3 generic
> functions, specifically the UseMethod() call, did not make use of S4
> inhe
A general goal for the next version of R is to make S4 and S3 play
better together.
As mentioned in a previous thread, one limitation has been that S3
generic functions, specifically the UseMethod() call, did not make use
of S4 inheritance when dispatching on general S4 objects.
This has bee