[Rd] rnorm returning NA's (PR#8635)

Duncan Murdoch murdoch at stats.uwo.ca
Thu Feb 23 21:22:09 CET 2006


On 2/23/2006 1:04 PM, 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

I don't see these.  Could you use set.seed() to put the RNG in a 
reproducible state, and show us the results then?

Duncan Murdoch



More information about the R-devel mailing list