Discovering the scope of the Shiny user interface
After you know how to build a simple Shiny application, as well as how reactivity works, let us take a look at the next step: the various resources to create a custom user interface. Furthermore, there are nearly endless possibilities to shape the look and feel of the layout. As already mentioned, the entire HTML, CSS, and JavaScript logic and functions of the layout options are based on the highly flexible bootstrap framework. And, of course, everything is responsive by default, which makes it possible for the final application layout to adapt to the screen of any device.
Exploring the Shiny interface layouts
Currently, there are four common shinyUI()
page layouts:
pageWithSidebar()
fluidPage()
navbarPage() ...
Get Mastering RStudio – Develop, Communicate, and Collaborate with R now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.