[R] S4 vs S3. New Package
Rolf Turner
r.turner at auckland.ac.nz
Sat Nov 9 20:59:22 CET 2013
For my take on the issue see fortune("strait jacket").
cheers,
Rolf Turner
P. S. I said that quite some time ago and I have seen nothing
in the intervening years to change my views.
R. T.
On 11/10/13 04:22, daniel schnaider wrote:
> Hi,
>
> I am working on a new credit portfolio optimization package. My question is
> if it is more recommended to develop in S4 object oriented or S3.
>
> It would be more naturally to develop in object oriented paradigm, but
> there is many concerns regarding S4.
>
> 1) Performance of S4 could be an issue as a setter function, actually
> changes the whole object behind the scenes.
>
> 2) Documentation. It has been really hard to find examples in S4. Most
> books and articles consider straightforward S3 examples.
More information about the R-help
mailing list