Re: [Rd] S4 generic functions/methods vs enclosures

2011-04-06 Thread A Zege
This looks awesome -- it is precisely what i wanted. I have started hacking with passing around environments to simulate behavior of classes i was after, but this is so much neater. Reference classes seem to do precisely what i wanted. Thank you very much. -- View this message in context: http:/

Re: [Rd] S4 generic functions/methods vs enclosures

2011-04-06 Thread John Chambers
Look at ?ReferenceClasses for this OOP paradigm in R, which is quite different from the functional paradigm of S4 methods. On 4/6/11 7:54 AM, A Zege wrote: Apologies for asking something that is probably very obvious, i just started with S4 classes and i guess i am not finding documentation tha