Skip to contents

Random String

Usage

rstring(n = 30)

Arguments

n

an integer, the length of the string.

Value

a character string.

Details

The function produces character strings based on sampling alphanumerical characters.

Examples

rstring()
#> [1] "SwlKLUUEdLieexomb92Q9QeuR8HfdV"
rstring(n = 10)
#> [1] "HIyvQgF0fi"