rstring {omnibus} | R Documentation |
Make a nearly-guaranteed unique string
Description
rstring()
makes a string that is statically extremely likely to be unique (using default options).
Usage
rstring(n, x = 12, filesafe = TRUE)
Arguments
n |
Numeric integer: How many strings to make (default is 1). |
x |
Numeric integer: Number of letters and digits to use to make the string. Default is 12, leading to a probability of two matching random strings of <3.7E-18 if |
filesafe |
Logical: If |
Value
Character.
Examples
rstring(1)
rstring(5)
rstring(5, 3)
[Package omnibus version 1.2.13 Index]