[Rd] mean(NA) returns -(1+.Machine$integer.max) (PR#9097)

From: <btyner_at_stat.purdue.edu>
Date: Wed 26 Jul 2006 - 02:17:21 GMT


Full_Name: Benjamin Tyner
Version: 2.3.0
OS: linux-gnu (debian)
Submission from: (NULL) (71.98.75.54)

> mean(NA)

returns -2147483648 on my system, which is -(1+.Machine$integer.max)

> sessionInfo()

Version 2.3.0 (2006-04-24)
i686-pc-linux-gnu

attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base"



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Jul 26 12:21:07 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 26 Jul 2006 - 04:37:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.