[R] names(dist(mat)) gives NULL in R 2.1.0
Elio Mineo
elio_mineo at economia.unipa.it
Thu May 5 13:16:42 CEST 2005
Dear list,
I do not know if this is a bug.
Let's suppose mat is a matrix derived from this code:
> x<-rnorm(10)
> y<-rnorm(10)
> names(x)<-LETTERS[1:10]
> names(y)<-LETTERS[1:10]
> mat<-cbind(x,y)
Now in R 2.0.1 I have:
> names(dist(mat))
"A" "B" "C" "D" "E" "F" "G" "H" "I" "J"
In R 2.1.0 I have:
> names(dist(mat))
NULL
I have tried this on Windows (precompiled binary distribution) and on
Linux Mandrake 10.0 (R compiled from source code).
Is this a bug or not?
Thanks in advance,
Elio
--
----------------------------------------------------------------------------------
Angelo M. Mineo
Dipartimento di Scienze Statistiche e Matematiche "S. Vianelli"
Università degli Studi di Palermo
Viale delle Scienze
90128 Palermo
url: http://dssm.unipa.it/elio
More information about the R-help
mailing list