[R] Question

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Dec 13 16:59:04 CET 2005


On Tue, 13 Dec 2005 Ted.Harding at nessie.mcc.ac.uk wrote:

> On 13-Dec-05 Uwe Ligges wrote:
>> Davia Cox wrote:
>> [...]
>>> My question is in order to run a true random sample,
>>
>> We have to disappoint you: Your computer cannot generate
>> "true random samples".
>
> At least on Linux (and probably most Unix) systems,
> /dev/random must be a pretty good approximation (provided
> you don't over-work it ... ).

See

library(accuracy)
?trueRandom

(for some definition of 'true').

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list