Re: [Rd] symbol name caching bug: attributes get tied to symbol names

2010-03-14 Thread John Chambers
n William Dunlap wrote: >> -Original Message- >> From: l...@stat.uiowa.edu [mailto:l...@stat.uiowa.edu] >> Sent: Friday, March 12, 2010 4:24 PM >> To: William Dunlap >> Cc: r-devel@r-project.org >> Subject: Re: [Rd] symbol name caching bug: attributes ge

Re: [Rd] symbol name caching bug: attributes get tied to symbol names

2010-03-12 Thread William Dunlap
> -Original Message- > From: l...@stat.uiowa.edu [mailto:l...@stat.uiowa.edu] > Sent: Friday, March 12, 2010 4:24 PM > To: William Dunlap > Cc: r-devel@r-project.org > Subject: Re: [Rd] symbol name caching bug: attributes get > tied to symbol names > > Since

Re: [Rd] symbol name caching bug: attributes get tied to symbol names

2010-03-12 Thread luke
Since symbols/names are reference objects this behavior in unavoidable if we allow attributes to be added to them. On the other hand, I'm not sure it makes sense to allow that. Attempting to set an attribute on NULL signals an error; it would probably make sense to do the same for any name object

[Rd] symbol name caching bug: attributes get tied to symbol names

2010-03-12 Thread William Dunlap
In R versions 2.10.1 and "2.11.0 Under development (unstable) (2010-03-07 r51225)" on Windows I get the following if I type the commands at the start of the session. Note how the attribute attached to the name "Response" by the initial call to structure() seems to get tied to that name for the rem