A (Not So) Short Introduction to S4
Object Oriented Programming in R
This tutorial is a guide to object programming with R (or S4).
It does not require knowing object oriented programming. However, a
minimum of knowledge about R and programming in general is necessary.
If you have any question, suggestion or if you are a native english speaker and you would like to correct some english mistake, feel free to contact the author.
- Bases of object programming
- Classes declaration
- To go further
- Methods using several arguments
- Internal modification of an object
- Good practices
- Further reading
Here is the tutorial :
You can also download all the code uses in the tutorial: