[R] Learning S3

Bert Gunter gunter.berton at gene.com
Thu Jun 18 18:36:24 CEST 2009


-- or Chapter 4 in S PROGRAMMING? (you'll need to determine if it's "reader
friendly")

Bert Gunter
Genentech Nonclinical Biostatistics


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Gabor Grothendieck
Sent: Thursday, June 18, 2009 9:17 AM
To: Hadley Wickham
Cc: r-help
Subject: Re: [R] Learning S3

There is a section on Object Orientation in MASS (I have 2nd ed).

On Thu, Jun 18, 2009 at 12:06 PM, Hadley Wickham<hadley at rice.edu> wrote:
> Hi all,
>
> Do you know of any good resources for learning how S3 works?  I've
> some how become familiar with it by reading many small pieces, but now
> that I'm teaching it to students I'm wondering if there are any good
> resources that describe it completely, especially in a reader-friendly
> way.  So far I've found:
>
>  *
http://cran.r-project.org/doc/manuals/R-lang.html#Object_002doriented-progra
mming
> - it has most of the theory (although some bits are missing), but no
> examples
>
>  * page 33 of http://CRAN.R-project.org/doc/Rnews/Rnews_2004-1.pdf
> shows how to create a simple object in both S3 and S4
>
> What has helped you learn S3?
>
> Regards,
>
> Hadley
>
> --
> http://had.co.nz/
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list