In the ‘shiny’ package, the reactiveConsole function allows
to enable reactivity at the console, for the purposes of experimentation
and learning (that doesn’t work in a R Markdown document).

Continue reading: A note on Shiny …