Description Usage Arguments Value Examples
View source: R/internal_functions.r
Generates n unique random character strings of a given length. Note that the length must be big enought in order to avoid offsetting the number n of strings requested
1 | createRandomString(n = 1, strlen = 10)
|
n |
the number of unique random strings to return |
strlen |
random string length |
a vector of unique random character strings
1 2 3 4 | # To ensure reproducibility make sure to set the seed
set.seed(123456789)
createRandomString(1, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.