randomStrings

0th

Percentile

Generate random strings

A function for generating a character vector of random strings, for testing purposes.

Usage
randomStrings(N, string_size)
Arguments
N

The number of random strings to generate

string_size

The number of characters in each string (default 50).

Value

A character vector of random alpha-numeric strings.

Aliases
  • randomStrings
Examples
# NOT RUN {
randomStrings(N=10, string_size=20) # returns 10 alphanumeric strings of length 20
randomStrings(N=100, string_size=200) # returns 100 alphanumeric strings of length 200
# }
Documentation reproduced from package qs, version 0.12, License: AGPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.