Learn R Programming

crew (version 0.5.0)

crew_random_name: Random name

Description

Generate a random string that can be used as a name for a worker or task.

Usage

crew_random_name(n = 12L)

Value

A random character string.

Arguments

n

Number of bytes of information in the random string hashed to generate the name. Larger n is more likely to generate unique names, but it may be slower to compute.

Details

The randomness is not reproducible and cannot be set with e.g. set.seed() in R.

See Also

Other utilities: crew_assert(), crew_deprecate(), crew_eval(), crew_retry(), crew_worker()

Examples

Run this code
crew_random_name()

Run the code above in your browser using DataLab