Hi R people: I would like to learn about classes, methods, S3 and S4. Which book would be the most helpful for this info, please: the green one or the white(and blue) one? Or is there something that would be even better, please? Thanks in advance. Sincerely, Laura Holt mailto: lauraholt_983 at hotmail.com R 2.1.0 Windows. trying to learn
Classes and methods
4 messages · Laura Holt, Gabor Grothendieck, Bert Gunter +1 more
On 5/3/05, Laura Holt <lauraholt_983 at hotmail.com> wrote:
Hi R people: I would like to learn about classes, methods, S3 and S4. Which book would be the most helpful for this info, please: the green one or the white(and blue) one? Or is there something that would be even better, please?
Reading the source of a few packages: R2HTML (S3), zoo (S3) and its (S4) would get you up to speed quickly.
I **Highly** recommend V&R's S PROGRAMMING. AFAIK, the R (or S-Plus) implementation of S4 classes is not exactly as given by the Green book, which is the authorative reference, however. -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box
-----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Laura Holt Sent: Tuesday, May 03, 2005 11:47 AM To: r-help at stat.math.ethz.ch Subject: [R] Classes and methods Hi R people: I would like to learn about classes, methods, S3 and S4. Which book would be the most helpful for this info, please: the green one or the white(and blue) one? Or is there something that would be even better, please? Thanks in advance. Sincerely, Laura Holt mailto: lauraholt_983 at hotmail.com R 2.1.0 Windows. trying to learn
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
On May 3, 2005, at 2:53 PM, Gabor Grothendieck wrote:
On 5/3/05, Laura Holt <lauraholt_983 at hotmail.com> wrote:
Hi R people: I would like to learn about classes, methods, S3 and S4. Which book would be the most helpful for this info, please: the green one or the white(and blue) one? Or is there something that would be even better, please?
Reading the source of a few packages: R2HTML (S3), zoo (S3) and its (S4) would get you up to speed quickly.
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. Sean