Sean Davis wrote:
I just did some of this learning myself. Here are a couple of links that I found useful: http://www.stat.auckland.ac.nz/S-Workshop/Gentleman/S4Objects.pdf http://eeyore.ucdavis.edu/stat250/OOP.html I found the first particularly easy reading and it got me going quickly with S4 methods, which it seems to me are the way to go in most cases.
If you want to simultaneously handcuff yourself, strap yourself into a strait jacket, and tie yourself in knots, and moreover write code which is incomprehensible to the human mind, then S4 methods are indeed the way to go. cheers, Rolf Turner rolf at math.unb.ca