Re: [Rd] attributes of environments

2006-07-07 Thread John Chambers
Umm, maybe we should step back a bit here. There are two points being made, both of which I think are reasonable, but they just don't happen to work together. 1. Environments are special objects in R. In fact they are the essential way directly in R to implement reference semantics. Every o

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/5/2006 8:06 PM, Gabor Grothendieck wrote: > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 7/5/2006 4:33 PM, Gabor Grothendieck wrote: >>> On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: On 7/5/2006 3:47 PM, Gabor Grothendieck wrote: > On 7/5/06, Duncan Murdoch <[EMAI

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/5/2006 8:06 PM, Gabor Grothendieck wrote: > > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 7/5/2006 4:33 PM, Gabor Grothendieck wrote: > >>> On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/5/2006 3:47 PM, G

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/5/2006 4:33 PM, Gabor Grothendieck wrote: > > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 7/5/2006 3:47 PM, Gabor Grothendieck wrote: > >> > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> >> On 7/5/2006 2:23 PM,

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/5/2006 4:33 PM, Gabor Grothendieck wrote: > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 7/5/2006 3:47 PM, Gabor Grothendieck wrote: >> > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> >> On 7/5/2006 2:23 PM, Gabor Grothendieck wrote: >> >> >> I think by this time I hav

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/5/2006 3:47 PM, Gabor Grothendieck wrote: > > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > >> On 7/5/2006 2:23 PM, Gabor Grothendieck wrote: > > >> I think by this time I have shown that subclassing of > >> > environments does n

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/5/2006 3:47 PM, Gabor Grothendieck wrote: > On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: >> On 7/5/2006 2:23 PM, Gabor Grothendieck wrote: >> I think by this time I have shown that subclassing of >> > environments does not work yet it could if it were designed differently >> > and fu

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Duncan Murdoch <[EMAIL PROTECTED]> wrote: > On 7/5/2006 2:23 PM, Gabor Grothendieck wrote: > > On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: > >> Gabor, > >> > >> On Jul 5, 2006, at 1:16 PM, Gabor Grothendieck wrote: > >> > >> >> It really is the way R is designed to work. Whether

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > On Jul 5, 2006, at 2:23 PM, Gabor Grothendieck wrote: > > > On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > > > I don't think ad hominem arguments and unsupported statements that > > things "make no sense" or analogies to screwdrivers

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/5/2006 2:23 PM, Gabor Grothendieck wrote: > On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: >> Gabor, >> >> On Jul 5, 2006, at 1:16 PM, Gabor Grothendieck wrote: >> >> >> It really is the way R is designed to work. Whether it is a >> >> problem or not is a separate issue. Environments real

Re: [Rd] attributes of environments

2006-07-05 Thread Simon Urbanek
On Jul 5, 2006, at 2:23 PM, Gabor Grothendieck wrote: > On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: > > I don't think ad hominem arguments and unsupported statements that > things "make no sense" or analogies to screwdrivers have any > relevance to this discussion. I was hoping that

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Simon Urbanek <[EMAIL PROTECTED]> wrote: > Gabor, > > On Jul 5, 2006, at 1:16 PM, Gabor Grothendieck wrote: > > >> It really is the way R is designed to work. Whether it is a > >> problem or not is a separate issue. Environments really are > >> references, not values, and they really wor

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > > On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > > > > > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > > >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > > >> > > >> > On 7/5/06

Re: [Rd] attributes of environments

2006-07-05 Thread Simon Urbanek
Gabor, On Jul 5, 2006, at 1:16 PM, Gabor Grothendieck wrote: >> It really is the way R is designed to work. Whether it is a >> problem or not is a separate issue. Environments really are >> references, not values, and they really work differently from the >> way most other objects work. > >

Re: [Rd] attributes of environments

2006-07-05 Thread Henrik Bengtsson
On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > > > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > >> > >> > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > >> >> On Tue, 4 Jul 2006

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > > > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > >> > >> > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > >> >> On Tue, 4 Jul 2006

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: >> >> > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> >> On Tue, 4 Jul 2006, Gabor Grothendieck wrote: >> >> >> >> > In the code below, e i

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/5/2006 12:39 PM, Gabor Grothendieck wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> On Wed, 5 Jul 2006, Gabor Grothendieck wrote: >> >> > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> >> On Tue, 4 Jul 2006, Gabor Grothendieck wrote: >> >> >> >> > In the code below, e i

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: >> On Tue, 4 Jul 2006, Gabor Grothendieck wrote: >> >> > In the code below, e is an environment which we copy to f and then >> > add attributes to e. Now f winds up with the same attributes. >> >

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Wed, 5 Jul 2006, Gabor Grothendieck wrote: > > > On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > >> On Tue, 4 Jul 2006, Gabor Grothendieck wrote: > >> > >> > In the code below, e is an environment which we copy to f and then > >> > add

Re: [Rd] attributes of environments

2006-07-05 Thread Thomas Lumley
On Tue, 4 Jul 2006, Gabor Grothendieck wrote: > In the code below, e is an environment which we copy to f and then > add attributes to e. Now f winds up with the same attributes. > > In other words it seems that the attributes are a property of the > environment itself and not of the variable. T

Re: [Rd] attributes of environments

2006-07-05 Thread Gabor Grothendieck
On 7/5/06, Thomas Lumley <[EMAIL PROTECTED]> wrote: > On Tue, 4 Jul 2006, Gabor Grothendieck wrote: > > > In the code below, e is an environment which we copy to f and then > > add attributes to e. Now f winds up with the same attributes. > > > > In other words it seems that the attributes are a p

Re: [Rd] attributes of environments

2006-07-05 Thread Duncan Murdoch
On 7/4/2006 11:12 PM, Gabor Grothendieck wrote: > In the code below, e is an environment which we copy to f and then > add attributes to e. Now f winds up with the same attributes. > > In other words it seems that the attributes are a property of the > environment itself and not of the variable.