Resources for S4 classes and methods

January 23, 2008

(This article was first published on Brokering the Closure » R, and kindly contributed to R-bloggers)

Learning the programming in the new S4 system of classes and methods in R can be quite cumbersome, even though the methods package is very well documented. That is why I collected some of the info and materials that I am aware of on a separate page here. I warmly welcome any suggestions for extending this, for now short, collection!

Where to look for information on programming with S4 system of classes and methods for R? Here is a open-ended collection of links to resources on learning programming in S4 system. Suggestions more than welcome!

  • John M. Chambers. Programming with Data. Springer, New York, 1998. ISBN 0-387-98503-4. Some more info here
  • John M. Chambers. Software for Data Analysis: Programming with R. Springer, New York, 2008. ISBN 0387759352, 9780387759357.

Articles and notes

Presentation slides



Sometimes it is worthwhile to look at the source code of the available packages and learn from that. Here is are the packages that can be instructive: stats4, lme4.

To leave a comment for the author, please follow the link and comment on their blog: Brokering the Closure » R. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Tags: , ,

Comments are closed.


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)