Re: [Rd] [<-.POSIXlt changes order of attributes (PR#9197)

From: Gregor Gorjanc <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Sat 02 Sep 2006 - 20:05:01 GMT

Hello,

Prof Brian Ripley wrote:
> There is a bug in identical(), though:
>

>> identical(pairlist(a=1, b=2), pairlist(a=1, aa=2))

> [1] TRUE
>> identical(structure(pi, a=1, b=2), structure(pi,a=1, aa=2))

> [1] TRUE
>
> so identical() is not even looking at the names of the attributes but only
> checking their values. Oops ....

Aha, so this is the problem then. Thank you for tracking down the problem!

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun Sep 03 06:07:23 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 06 Sep 2006 - 11:39:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.