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

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Thu 23 Feb 2006 - 20:22:09 GMT

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



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Feb 24 07:42:19 2006

This archive was generated by hypermail 2.1.8 : Thu 23 Feb 2006 - 22:16:08 GMT