Description Usage Arguments Examples
This is an experimental feature that allows you to enable reactivity at the console, for the purposes of experimentation and learning.
1 | reactiveConsole(enabled)
|
enabled |
Turn console reactivity on or off? |
1 2 3 4 5 6 7 8 | reactiveConsole(TRUE)
x <- reactiveVal(10)
y <- observe({
message("The value of x is ", x())
})
x(20)
x(30)
reactiveConsole(FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.