[R] Re: your mail on `Integer overflow in sum(.)'

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Mar 29 07:57:53 CET 2002

On Fri, 29 Mar 2002, Chris Wen wrote:

> Hi,
> I am a newbie of R...
> What does the following message mean when I tried running a summary() on a
> dataset?
> Warning message:
> Integer overflow in sum(.); use sum(as.numeric(.))

It means that you are taking the mean of some very large integers, and
the calculation is overflowing.  It is just a warning.

This will not happen in the next release of R.

Please use a subject when posting to a list.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list