Random in GNU R is a non-deterministic random number generator.
If you're using GNU R and need a source of true random numbers, you might be interested in checking out the random package. This package provides easy access to the true random numbers generated by random.org, a service created by Mads Haahr.
One of the great things about random is that it's portable and doesn't rely on any hardware- or operating system-specific features. This makes it a reliable source of true (i.e. physical) randomness.
The random package contains three simple functions that make it easy to generate random numbers and sequences:
1. randomNumbers: This function supplies random numbers, potentially with replications, over an interval. It's like rolling a die (but with more than six sides) multiple times.
2. randomSequence: This function supplies a reshuffled sequence given a lower and upper bound for the sequence.
3. randomBytes: This function supplies raw bits in binary, octal, decimal or hexadecimal format.
In addition to these functions, the package also includes a utility function called randomBufferStatus, which lets you query the server about the percentage to which the supply of random numbers is 'filled'. The function sufficientBits checks whether this percentage value is below or above the recommended cut-off threshold of 20%. This is useful when you need to verify that the generator is supplying enough random numbers for your needs.
Installing the random package is easy. The easiest way is to simply run the command 'install.package("random")' from inside GNU R. Alternatively, you can install it from the command prompt using 'R CMD INSTALL random_*.tar.gz'.
Overall, if you need a reliable source of true random numbers for your GNU R projects, the random package is definitely worth checking out. It's easy to use and provides a useful set of functions for generating random numbers and sequences.
Version 0.1.0: N/A