Skip to content
Prev 9171 / 398502 Next

Object orientation?

Could you be so kind as to explain what you mean by "turn R (or S) into a
macro language"
Maybe the way I expressed the idea wasn't clear enough or the way I
expressed it wasn't, so I'll try again. I have a personal project where I
would like to use R for it's statistical and graphical capabilities as is
usually the case presumably.

The strategy I thought up would probably be better handled (or easier to
implement) with an object orientation kind of approach. I was able to
identify many objects, in the since of OOP terminology, which would also
need to be handle as a group or as a collection (or as some kind of a
list|data.frame in R terms). I would also require a few of these groups to
be imbedded in higher level object and so on. My first idea was to imbed R
in a program written in a language like C++ for example. Before I start
working in this manner, I thought of investigating the possibilities of
doing all of this in R instead. So I bought "S Programming" from Venables &
Ripley and read it along with other material. So in the process I kind of
ask myself the same thing as you ask me above and I've got no answer. Maybe
I should of ask what are the facilities in R to write or implement an
hierarchy of object (classes) working together as in C++ or as close as
possible to that?

Thanks

Yves

PS I take this occasion to thank all other who tried to help as well.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._