[Rd] min(c()) = inf ??? (PR#618)

y0004379@tu-bs.de y0004379@tu-bs.de
Wed, 26 Jul 2000 13:57:21 +0200 (MET DST)


min of an empty vector gives inf, should be NA / NULL ???

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

(the same for max)

--please do not edit the information below--

Version:
 platform = Windows
 arch = x86
 os = Win32
 system = x86, Win32
 status = 
 major = 1
 minor = 1.0
 year = 2000
 month = June
 day = 15
 language = R

Windows 9x 4.0 (build 1111)  

Search Path:
 .GlobalEnv, Autoloads, package:base




** To YOU I'm an atheist; to God, I'm the Loyal Opposition. Woody Allen **
P.Malewski					Tel.: 0531 500965
Maschplatz 8					Email: P.Malewski@tu-bs.de
************************38114 Braunschweig********************************




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