Material for the QIB Data Science group workshop - Intro to Shiny app development
This lessons assumes that you have some minimal knowledge of the R langage and some familiarity with RStudio. In particular, being familiar with the TidyR and ggplot2 packages is recommended in order to fully understand this workshop.
This lesson assumes you have R and RStudio installed on your computer.
The latest version of R can be downloaded here.
RStudio can be downloaded here. Make sure that you download the free Desktop version for your computer.
This workshop will use the following libraries:
- Shiny v1.8.1
- Tidyverse v2.0.0
These libraries can be installed together by installing the 'Tidyverse' package. To install the packages, open RStudio and run in the console:
install.packages("tidyverse")
install.packages("shiny")
To be able to connect to the shinyapps.io server, you'll also need to install the rsconnect package To install the package, open RStudio and run in the console:
install.packages("rsconnect")
Although not mandatory, if you want to be able to deploy your App on the ShinyApp.io server, you'll need to create a free account on ShinyApps.io