[R] Question
(Ted Harding)
Ted.Harding at nessie.mcc.ac.uk
Tue Dec 13 17:47:41 CET 2005
On 13-Dec-05 Prof Brian Ripley wrote:
> 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').
Spot on! Thanks for this -- I wasn't aware of it previously.
The URL to HotBits in ?trueRandom is worth following, and the
descriptions in "How it Works":
http://www.fourmilab.ch/hotbits/how.html
are entertaining reading.
Best wishes,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-Dec-05 Time: 16:47:37
------------------------------ XFMail ------------------------------
More information about the R-help
mailing list