This page is also a brief introduction to the S3 classes: http://www.ibm.com/developerworks/linux/library/l-r3.html (see section on 'Object-oriented R') and for S4, in addition to "How S4 methods work": http://developer.r-project.org/methodDefinition.html ----- Original Message ---- From: Johannes Huesing <johannes at huesing.name> To: r-help at r-project.org Sent: Sunday, July 27, 2008 12:21:37 PM Subject: Re: [R] Object-oriented programming in R for Java programmers? Werner Wernersen <pensterfuzzer at yahoo.de> [Sun, Jul 27, 2008 at 01:55:26PM CEST]: [...]
Is there any brief tutorial on oo programming in R especially for people who have done oo in Java or C++ before? That would be really helpful.
"How S4 methods work" highlights the differences between R's function-centric approach to OO and the class-centric approach highlighted by languages such as C++. This 10-page article is written by John Chambers.
Johannes H?sing There is something fascinating about science.
One gets such wholesale returns of conjecture
mailto:johannes at huesing.name from such a trifling investment of fact.
http://derwisch.wikidot.com (Mark Twain, "Life on the Mississippi")
______________________________________________
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.