Skip to contents

Convenience wrapper around reactiveValuesToList

Usage

rv_to_list(x, all.names = FALSE)

rv2l(x, all.names = FALSE)

rvtl(x, all.names = FALSE)

Arguments

x

A reactivevalues object.

all.names

If TRUE, include objects with a leading dot. If FALSE (the default) don't include those objects.

See also

Other reactives: rv_index(), rv()

Examples

values <- reactiveValues(a = 1)
if (FALSE) {
reactiveValuesToList(values)
}

# To get the objects without taking dependencies on them, use isolate().
# isolate() can also be used when calling from outside a reactive context (e.g.
# at the console)
isolate(reactiveValuesToList(values))
#> $a
#> [1] 1
#>