References for S4 classes in R
Posted on October 05, 2013
During the last six months I’ve been working a lot around S4 Classes in R. Compared to the “traditional” S3 class, there is not much information on S4.
Just in case, for those of you who are struggling like me, here’s my curated (non-exhaustive) list of pdf references about S4 classes that I’ve found useful.
- Implementing S4 objects in your package (by Hervé Pagès)
- Object Oriented Programming in R (by Ross Ihaka)
- S4 Classes in 15 pages, more or less (by Robert Gentleman)
- Object Oriented Programming in S-plus (by Robert Gentleman)
- S4 Classes and Methods (by Friedrich Leisch)
- Recent Developments in R (by Paul Murrell)
- S4 Classes and Methods (by Roger Peng)
- Hands on S4 Classes (by Yohan Chalabi)
- Petit Manuel de S4 (by Christophe Genolini, in French)
- A (Not So) Short Introduction to S4 (by Christophe Genolini)
- Construire un Package Classic et S4 (by Christophe Genolini, in French)
- Advanced Programming (by Nicholas Christian)
- S4 System Development in Bioconductor (by Patrick Aboyoun)
- S4 classes and methods (by Martin Morgan and Robert Gentleman)
- Building R Packages (by David Diez)
- The Matrix Package: Programming with S4 classes (by Martin Maechler)
- A step-by-step guide to writing a simple package that uses S4 methods (by Robin Hankin)
As I said, this is not a complete list of pdf resources. However, if you think I’m missing a highly relevant reference, please let me know so the list can be improved.
Happy programming!