From ripley at stats.ox.ac.uk  Thu Feb 23 21:08:12 2006
From: ripley at stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Thu, 23 Feb 2006 21:08:12 +0100 (CET)
Subject: [Rd] rnorm returning NA's (PR#8635)
Message-ID: <20060223200812.C82C019A53@slim.kubism.ku.dk>

This is not reproducible, and you have not told us the seed you used which 
is what is needed to make random results reproducible.

Please supply a reproducible example (if you can).  I ran the first line 
100 times (about 15 minutes) without encountering any NAs.  If you found 
these fairly easily it indicates a bug in your Windows installation, not 
one in R.  Further, if it were at all common then other people would have 
encountered it and surely mentioned it.

On Thu, 23 Feb 2006, jjmcnutt at gmail.com wrote:

> Full_Name: Josh McNutt
> Version: 2.2.1
> OS: Win XP
> Submission from: (NULL) (192.88.209.232)
>
>
>> which(is.na(rnorm(20000000)))
> [1] 15242377
>
>> which(is.na(rnorm(10000000)))
> [1] 3692029
>
>> which(is.na(rnorm(40000000)))
> [1]  5560337  5938719 33888822
>
>> which(is.na(rnorm(50000000)))
> [1] 25231754 42397181 45085564 45363557
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

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



[Rd] rnorm returning NA's (PR#8635)
ripley@stats.ox.ac.uk