Skip to content
Prev 21323 / 63424 Next

attributes of environments

On 7/5/06, Thomas Lumley <tlumley at u.washington.edu> wrote:
What I meant is that if one wants R to be consistently oo
then you can't disallow them.

Objects are supposed to have classes and subclasses should be readily
definable.

I see no good reason for excluding environments from this.
Just because it does not create a new environment does not mean
that attr(f, "X") <- "Y"
could not create a new variable f that also points to e.
OK.  Its not a bug but as we discuss this it seems to me that
its current operation is undesirable since
environments don't seem to fit into the scheme that other objects do
yet different design/implement would allow this to occur.