Skip to content
Prev 21331 / 63424 Next

attributes of environments

On 7/5/2006 2:23 PM, Gabor Grothendieck wrote:
Gabor, I think Simon misread what you wrote above (taking "as we discuss 
this" to mean "because we discuss this", rather than "during our 
discussion of this"), and you misread his reply.  This doesn't look to 
me like an ad hominem.
You have ignored my explanation of why things are the way they are. 
Simon's statement is not unsupported in the context of the complete 
discussion.

  I think by this time I have shown that subclassing of
I don't think you've shown that subclassing of environments doesn't 
work.  You have an example that shows that shows that R implements 
Henrik's "Case 2" rather than his "Case 1", but as Thomas and I said, 
that really has nothing to do with subclassing.

Subclassing is about defining a new class, not about copying objects. 
You can (and did!) define a new class which inherits from the 
environment class.

There may be problems in UseMethod or NextMethod when the object is an 
environment; if there are, then you're right.  But so far you haven't 
shown that.

Duncan Murdoch