From thomas@biostat.washington.edu  Wed Apr 30 17:42:52 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Wed, 30 Apr 1997 09:42:52 -0700 (PDT)
Subject: R-alpha: ==NULL
In-Reply-To: <199704301038.MAA18107@aragorn.ci.tuwien.ac.at>
Message-ID: <Pine.SUN.3.95.970430093849.302A-100000@zen>


Any comparison with NULL generates an error
Error: comparison is possible only for vector types
whereas in S(-PLUS) it gives NA, which seems more sensible.

Along similar lines, comparison with a length 0 vector returns logical(0)
in R but NA in S. 

Thomas Lumley
------------------------------------------------------+------
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :
------------------------------------------------------------

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


R-alpha: ==NULL
Thomas Lumley