max(NULL)

Paul Gilbert pgilbert@bank-banque-canada.ca
Thu, 3 Dec 1998 15:42:08 -0500


In Splus 3.3 and previous to R 0.63  max(NULL) returned NA and now it returns

> max(NULL)
Warning in max(..., na.rm = na.rm) : no finite arguments to min/max; returning
extreme.
[1] -2147483647

Is this a bug or an intentional change?

Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._