Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Introducing the Shiny application architecture and reactivity

In its simplest form, a Shiny application requires a server and a user interface (UI). These components form the basic architecture behind all Shiny applications. The ui object controls the layout and appearance of your application, and the server function contains the logic needed by the application. If you know how web applications work, you can think of them as the frontend and the backend, respectively. The shinyApp() function creates and launches a Shiny application from an explicit UI/server pair. It will compile R code into web-friendly languages HTML, JavaScript, and CSS.

Below we have the simplest possible Shiny application, which has an empty server and a UI with a basic ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content