On 8/23/06, John Chambers <[EMAIL PROTECTED]> wrote:

> A different discussion is the desire to pass object references in R.
> There are in fact objects that currently act as references, notably
> environments.  If one wants to, a general reference-semantic set of
> capabilities can be added to R, either on that basis or otherwise.  It's
> potentially a useful thing to do and several people have played around
> with it.  It is NOT an argument for changing the semantics of existing
> classes of objects, IMO.

There are two R packages (maybe more?) in this regard.  The basic
insight of the proto package is that prototype programming (as in
the Self programming language) can be layered on top of environments
with less than a page of code while the R.oo package extends it in a different
direction essentially emulating conventional OO rather than Dylan-style
OO.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to