Shiny enables you to write powerful interactive web applications entirely in R. Using R, you can create a user interface and server, and Shiny will compiler your R code into the HTML, CSS, and JavaScript code needed to display your application on the web. What makes a Shiny application particularly powerful is that it can execute R code on the backend, so your application can perform any R calculation you can run on your desktop. You may want your application to process some data based on user inputs and provide some interactivity to make data analysis more intuitive. In this chapter, we will show you how to accomplish this.
Shiny implements the functional reactive programming paradigm that powers many of today's most modern web applications. We will explain what it is and how it works within Shiny. We will show how to work with streams...