Skip to content
Back to formatted view

Raw Message

Message-ID: <OFF132900B.CF0F4C6E-ON41256E12.00424078@notes.edfgdf.fr>
Date: 2004-01-05T12:07:08Z
From: Eric ESPOSITO
Subject: runif and sample with reproducibility

Hello,
I already sent such an email before Christmas, but nobody answered, so here
is my problem:
I would like to sample a population but the result needs to be
reproducible, using 'runif' or 'sample' is the good way to do it but I
can't manage to make the results reproducible even with the 'set.seed'
function.
My aim is that th call to 'sample(1:100,10)' gives always the same result,
how can I do that?
Thanks!

Eric Esposito