[Rd] [R] Successive subsets from a vector?

Gabor Grothendieck ggrothendieck at gmail.com
Wed Aug 23 18:33:44 CEST 2006


On 8/23/06, John Chambers <jmc at r-project.org> 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.



More information about the R-devel mailing list