Hi all, I've been having a look to all OOP functionallity in R, basically I've been reading "Statistics and Computing" book by Chambers. My problem is that I'm thinking about refactoring many functions of the applications I work with (which is quite huge), in order to modularize its components. I believe that trying to use OOP functionality may help to reorganize and standarize my code. The problem I am facing right now is that it is difficult for me to see how I'd do to deal with polymorphism in R. I don't clearly see how my "main" function would look like and how to require the classes needed for a particular execution and all these stuff (I assume classes would be in different files). So the question is that if anyone knows a good simple example to check how the code would look like. A real life example or an exercise example, like the ones in http://en.wikipedia.org/wiki/Polymorphism_in_object-oriented_programming wikipedia for example. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/Modular-coding-in-R-OOP-tp4386504p4386504.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]