From pgilbert@bank-banque-canada.ca  Wed May 13 22:23:40 1998
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 13 May 1998 17:23:40 -0400
Subject: all.equal
References: <Pine.SUN.3.95.980513124031.7729A-100000@chekov>
Message-ID: <98May13.172537edt.13443@mailgate.bank-banque-canada.ca>

>I think it should return T/F rather than text.  You could have the reason
>returned as an attribute or printed as a warning().

I'm doing this only for compatability with Splus. In fact, the way I've used it
in my code is

   is.logical(all.equal(...))

which gives the T/F result.

I think the tolerance is a good idea. Thanks for pointing out other problems. I
just fixed one of them. I'll circulate a new version tomorrow.

Paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


all.equal
Paul Gilbert