From gregor.gorjanc at bfro.uni-lj.si  Sat Sep  2 22:05:01 2006
From: gregor.gorjanc at bfro.uni-lj.si (Gregor Gorjanc)
Date: Sat, 02 Sep 2006 22:05:01 +0200
Subject: [Rd] [<-.POSIXlt changes order of attributes (PR#9197)
In-Reply-To: <Pine.LNX.4.64.0609021738120.11327@gannet.stats.ox.ac.uk>
References: <20060901115839.3758019A05@slim.kubism.ku.dk>
	<Pine.LNX.4.64.0609011416490.11719@gannet.stats.ox.ac.uk>
	<Pine.LNX.4.64.0609021738120.11327@gannet.stats.ox.ac.uk>
Message-ID: <44F9E3ED.6040702@bfro.uni-lj.si>

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.




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