From w.huber at dkfz.de  Mon Oct 20 22:15:04 2003
From: w.huber at dkfz.de (w.huber@dkfz.de)
Date: Mon Oct 20 22:14:02 2003
Subject: [Rd] Random Number Generator RNGkind() under "R CMD check" (PR#4691)
Message-ID: <200310202015.h9KKF40P018950@pubhealth.ku.dk>

Full_Name: Wolfgang Huber
Version: 1.8.0
OS: Linux
Submission from: (NULL) (193.174.58.146)


The man page for RNGkind says that the default is Mersenne-Twister, and when I
start R interactively, I get in fact
> RNGkind()
[1] "Mersenne-Twister" "Inversion"

However, during the execution of "R CMD check" I get
> > ### ** Examples
> >
> >  RNGkind()
> [1] "Wichmann-Hill" "Inversion"

This creates discrepancies between the behaviour of code that uses pseudo random
numbers during "check" and otherwise.

> version
         _
platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    8.0
year     2003
month    10
day      08
language R


[Rd] Random Number Generator RNGkind() under "R CMD check" (PR#4691)
w.huber@dkfz.de