Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

How is functional reactivity handled within Shiny?

Reactivity is what makes your Shiny applications responsive. It seems like the application instantly updates itself whenever the user makes a change. However, in reality, Shiny is rerunning your R expressions in a carefully scheduled way every couple of microseconds, which creates the illusion of responsiveness. You don't need to know how reactivity occurs to use it, but understanding reactivity will make you a better Shiny programmer.

Remember that when we executed our very simple Shiny application in a previous section, the R console stopped being interactive? Well, that was happening because executing the shinyApp() function makes R busy by constantly monitoring and updating expressions ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content