O'Reilly logo

Learning Shiny by Hernán G. Resnizky

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

Chapter 4. Shiny Structure – Reactivity Concepts

Before diving deep into the different possibilities that Shiny provides, it is necessary to have a clear understanding of what Shiny is. For this reason, this chapter covers its central concepts with a special focus on reactivity and explains the structure of their implementation.

In short, we will cover the following topics:

  • Shiny as a package
  • An introduction to server.R and UI.R
  • The concept of reactivity
  • Reactive independent processes within an application
  • An introduction to global.R
  • Running a Shiny web application
  • An overview of simple examples

Shiny as a package

In Chapter 1, Introducing R, RStudio, and Shiny, we learned that Shiny is a package. Packages in R, in most cases, are a collection of functions ...

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