random is a non-determinisitic random number for GNU R.
random provides GNU R with easy access to the true random numbers provided by random.org created by Mads Haahr. random is portable and does not depend on any hardware- or operating system-specific features to supply true (i.e. physical) randomness.
The package provides three simple functions:
· randomNumbers supplies random numbers, potentially with replications, over an interval--like rolling a die (with more than six sides) multiple times;
· randomSequence supplies a reshuffled sequence given a lower and upper bound for the sequence;
· randomBytes supplies raw bits in binary, octal, decimal or hexadecimal format.
Moreover, a utility function randomBufferStatus queries the server about the percentage to which the supply is `filled'. The function sufficientBits simply checks whether this percentage value is below or above the recommended cut-off threshold of 20%.
Installation
The easiest way is probably to simply say install.package("random") from inside GNU R. Alternative, R CMD INSTALL random_*.tar.gz will install from command prompt.
Product's homepage