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. 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 at 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.