[R] runif limited precision

Stavros Macrakis macrakis at alum.mit.edu
Fri Jan 2 22:16:20 CET 2009


On Fri, Jan 2, 2009 at 4:03 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 02/01/2009 2:45 PM, Stavros Macrakis wrote:
>> ...So I'd think that either runif should give full precision or
>> its documentation should mention this limitation.
>
> It refers to the .Random.seed page for details, and that page mentions the
> limitation to at most 2^32 different values for most of the generators.

Indeed it does -- thanks for the pointer!  I still think it would be
helpful to the user to mention the limitation in the individual
r<dist> doc pages, as not many users are likely to work through the
very complete RNG doc page.

          -s




More information about the R-help mailing list