Let's go deeper into methods overloading, and play around with classes, environment, operators and other R "oddities". How? Trying to emulate some C function in R.
This brief tutorial illustrates how to combine S4 object oriented capabilities with function closures in order to develop classes with built in methods. Thanks to Hadley Wickham for the great contribution of material and tutorials made available on the web and to Bill Venables and Stefano Iacus for their kind reviews.