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 <had...@rice.edu> wrote:

> Just noticed these two functions (clearNames is stats and unname in
> base) that do the same thing.
>
> Hadley
>
> --
> http://had.co.nz/
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to