Session - Introduction
Chapter overview
Introduction and getting started
What is Shiny?
——— Break ———–
What does it do?
Intro to reactivity
Application 1 - minimal (Your first application)
Application 2 - Sitrep (Situation Report)
Reactive expressions
(Optional)
NSE in Shiny applications
Bookmarks
——— Course end ———–
Chapter overview
——— Course end ———–
Chapter overview
——— Course end ———–
File > New Project... > New Directory
Shiny Application
Projects
File > New File > Shiny Web App...
File
Posit Cloud workspaces are all projects!
Changing the inputs (from the slider) changes the outputs (the chart)
You can change whether the app opens in a separate window in RStudio, the RStudio viewer pane, or externally in your web browser. Use whichever works best for you and your computer setup.
Before closing the app look at the R Console:
127.0.0.1 “this computer” and 3827 is a randomly assigned port number.
R is busy!
Esc
or Ctrl + C
in some programsThe workflow is:
Reload app
The Shiny Gallery which includes dashboards as well as parts (widgets) that can be added.
And from healthcare:
As RStudio renamed to Posit in 2022 to extend their language association beyond R, so they are also working on extending Shiny apps
Mastering Shiny by Hadley Wickham
Beginners course by Chris Beeley aimed at relatively novice R users
Shiny workshop for NHS-R Community
Shiny workshop materials on the NHS-R Community GitHub. Building Web Apps with R Shiny from PsyTeachR