[R] how to initialize random seed properly ?

A.J. Rossini rossini at blindglobe.net
Thu Jun 10 15:56:42 CEST 2004


ryszard.czerminski at pharma.novartis.com writes:

> Here is my best solution so far using $RANDOM in bash
> or maybe somebody has "pure R"  solution ?

Sure -- use the rsprng or rlecuyer packages from CRAN, which support
(independent?) streams of random numbers from a common set of seeds.

best,
-tony

-- 
rossini at u.washington.edu            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}




More information about the R-help mailing list