Thu, 3 Dec 1998 13:14:32 -0800 (PST)
On Thu, 3 Dec 1998, Paul Gilbert wrote:
> 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
>  -2147483647
> Is this a bug or an intentional change?
It's intentional: ie max of an empty set is -Inf, min is +Inf
For a while it happened silently, but now you get warned.
Assistant Professor, Biostatistics
University of Washington, Seattle
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: email@example.com