[R] smallest/biggest number

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 23 12:19:42 CET 2005


On Wed, 23 Mar 2005, chris desimpelaere wrote:

> I'm running monte carlo and i wonder what is the biggest/smallest number that
> can reliably be represented in R?

Well, -Inf and Inf, of course.  But if you meant a finite number, see
?.Machine : the values are OS-specific.

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list