Skip to content

Resources for S4 classes and methods

2008 January 23
by Michał

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!
Books

  • John M. Chambers. Programming with Data. Springer, New York, 1998. ISBN 0-387-98503-4. Some more info here http://cm.bell-labs.com/cm/ms/departments/sia/Sbook/
  • John M. Chambers. Software for Data Analysis: Programming with R. Springer, New York, 2008. ISBN 0387759352, 9780387759357.

Articles and notes

Presentation slides

Links

Packages

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.

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS