Set the random seed for widget element ids

Share:

Description

Set a random seed for generating widget element ids. Calling this function rather than relying on the default behavior ensures stable widget ids across sessions.

Usage

1
setWidgetIdSeed(seed, kind = NULL, normal.kind = NULL)

Arguments

seed

a single value, interpreted as an integer, or NULL (see ‘Details’).

kind

character or NULL. If kind is a character string, set R's RNG to the kind desired. Use "default" to return to the R default. See ‘Details’ for the interpretation of NULL.

normal.kind

character string or NULL. If it is a character string, set the method of Normal generation. Use "default" to return to the R default. NULL makes no change.