Re: [Rd] clearNames and unname

2009-09-03 Thread Douglas Bates
On Thu, Sep 3, 2009 at 10:02 AM, Martin Maechler wrote: >> "MM" == Martin Maechler >>     on Thu, 3 Sep 2009 16:14:24 +0200 writes: > >> "HW" == Hadley Wickham >>     on Thu, 3 Sep 2009 08:16:27 -0500 writes: > >    HW> Just noticed these two functions (clearNames is stats and unn

Re: [Rd] clearNames and unname

2009-09-03 Thread Martin Maechler
> "MM" == Martin Maechler > on Thu, 3 Sep 2009 16:14:24 +0200 writes: > "HW" == Hadley Wickham > on Thu, 3 Sep 2009 08:16:27 -0500 writes: HW> Just noticed these two functions (clearNames is stats and unname in HW> base) that do the same thing. MM> clearName

Re: [Rd] clearNames and unname

2009-09-03 Thread Martin Maechler
> "HW" == Hadley Wickham > on Thu, 3 Sep 2009 08:16:27 -0500 writes: HW> Just noticed these two functions (clearNames is stats and unname in HW> base) that do the same thing. clearNames looks like an accident. unname() has existed for much longer {and as someone else said},

Re: [Rd] clearNames and unname

2009-09-03 Thread Henrique Dallazuanna
Hadley, clearNames don't work with matrices: m <- matrix(1:9, ncol = 3, dimnames = list(letters[1:3], letters[1:3])) clearNames(m) unname(m) On Thu, Sep 3, 2009 at 10:16 AM, Hadley Wickham wrote: > Just noticed these two functions (clearNames is stats and unname in > base) that do the same t