O'Reilly logo

RStudio for R Statistical Computing Cookbook by Andrea Cirillo

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

Developing a single-file Shiny app

Shiny apps probably were one of the most game-changing products developed by RStudio.

These apps, because of their ability to link the analytical environment to the production one, are great instruments in the hands of developers and researchers interested in transforming their work into an actual data-driven product.

In this recipe, I will introduce you to the single-file app, which is becoming the standard for Shiny app development.

When Shiny was first introduced, apps had to be composed of two separate files: one for the user interface and another for the server logic.

Among several refinements and improvements, the RStudio team later introduced a way to produce a Shiny app contained within a single R script. ...

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