O'Reilly logo

Mastering RStudio – Develop, Communicate, and Collaborate with R by Maximilian H. Nierhoff, Julian Hillebrand

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 – a Web-app Framework for R

This chapter covers the following topics:

  • An introduction to the Shiny app framework
  • Creating your first Shiny app
  • The connection between the server file and the user interface
  • The concept of reactive programming
  • Different types of interface layouts, widgets, and Shiny tags
  • How to create a dynamic user interface
  • Ways to share your Shiny applications with others
  • How to deploy Shiny apps to the web

Introducing Shiny – the app framework

The Shiny package delivers a powerful framework to build fully featured interactive Web applications just with R and RStudio. Basic Shiny applications typically consist of two components:

~/shinyapp
|-- ui.R
|-- server.R

While the ui.R function represents the appearance of the user ...

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