Re: [Rd] all.equal, classes, and order of arguments

2008-05-08 Thread Martin Maechler
hw == hadley wickham [EMAIL PROTECTED] on Thu, 1 May 2008 20:53:10 -0500 writes: a - list() b - structure(list(), class=c(list, a)) all.equal(a, b) hw [1] Attributes: target is NULL, current is list all.equal(b, a) hw [1] Attributes: Modes: list, NULL hw

[Rd] all.equal, classes, and order of arguments

2008-05-01 Thread hadley wickham
a - list() b - structure(list(), class=c(list, a)) all.equal(a, b) [1] Attributes: target is NULL, current is list all.equal(b, a) [1] Attributes: Modes: list, NULL [2] Attributes: names for target but not for current [3] Attributes: Length mismatch: comparison on first 0 components