Re: [R] names(dist(mat)) gives NULL in R 2.1.0

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Thu 05 May 2005 - 21:33:05 EST

Elio Mineo <elio_mineo@economia.unipa.it> writes:

> 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?

Not.

>From the NEWS file:

    o The S3 methods for getting and setting names of "dist" objects

        have been removed (as they provided names with a different
        length from the "dist" object itself).

(some side effects are fixed in 2.1.0-patched)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu May 05 21:42:03 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:35 EST