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))
Run the code above in your browser using DataLab