O'Reilly logo

Web Application Development with R Using Shiny - Third Edition by Shitalkumar R. Sukhdeve, Chris Beeley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reactivity in RShiny

RShiny uses a reactive programming coding pattern, which makes applications responsive. In reactive programming, there are basically three elements:

  • Reactive Source
  • Reactive Endpoint
  • Reactive Conductor

The combination of these elements is what makes a Shiny app more responsive. Let's have a look in more detail at how they work:

  • Reactive Source: The reactive source is the input objecting the Shiny app. It takes the input from the user and keeps it in the Input object. The Input object is associated with any UI element, with which the user interacts and provides input. It can be an input box, an action button, an interactive table or plot, or any other UI component. For example, if we take input from a text box named ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required