Skip to content
Prev 15871 / 63461 Next

Overloading methods in R

Thanks a lot for the reply Henrik.

I do not know what was the motivation of R developers to go for yet another 
OO design, but I wish the designers would have thought of ways to interface 
this design to the other designs.

As a wrapper developer, I like packages like R.oo not because it uses S3, 
but for this reason that it 'hides' the OO design of R -- I don't mind if 
the hidden design is S3, S4 or maybe S5!
So why did they go a step backward in S4 and remov this feature?
It seems to me by making the parser a bit less dynamic and putting some 
limitations this could be done.
I assume you mean C++ wrappers for R. I believe before touching a project 
like that, first some issues must be resolved in R. The problem is not how 
to automate the parser, the problem is that OO design of R lacks some 
important equivalents of OO designs like C++. Another problem could be that 
some R developers believe that the previous is not a problem :) Once a 
flexible and stable interface between the two designs is estabilished, 
parsing may be perfomed in the classical way.