Re: [R] How to modify the dot-dot-dot argument using level names instead of position

2011-08-31 Thread Sébastien Bihorel
Thanks Duncan On Wed, Aug 31, 2011 at 9:43 AM, Duncan Murdoch wrote: > On 31/08/2011 9:41 AM, Sébastien Bihorel wrote: >> >> Hi, >> >> I thought "..2<- 1" was a correct way to modify the content of the >> 2nd level of dot-dot-dot because it did not return any error message. >> However, this appea

Re: [R] How to modify the dot-dot-dot argument using level names instead of position

2011-08-31 Thread Duncan Murdoch
On 31/08/2011 9:41 AM, Sébastien Bihorel wrote: Hi, I thought "..2<- 1" was a correct way to modify the content of the 2nd level of dot-dot-dot because it did not return any error message. However, this appears to have no effect whatsoever on the content of dot-dot-dot. So, I guess I should modi

Re: [R] How to modify the dot-dot-dot argument using level names instead of position

2011-08-31 Thread Sébastien Bihorel
Hi, I thought "..2 <- 1" was a correct way to modify the content of the 2nd level of dot-dot-dot because it did not return any error message. However, this appears to have no effect whatsoever on the content of dot-dot-dot. So, I guess I should modify my question to: is it possible to modify the c

[R] How to modify the dot-dot-dot argument using level names instead of position

2011-08-31 Thread Sébastien Bihorel
Dear R-users, In the R internals manual, it is said that one can extract the elements of the dot-dot-dot argument using the special symbols ..1 or ..2. It seems to work just fine but I was wondering if there is a way one can extract or modify the content of the dot-dot-dot argument using a level n