Skip to the content.

HomeInstallationDataMethodsGuideAbout


Installation

Method 1: Use the function runGitHub() from the package shiny:

if("shiny" %in% rownames(installed.packages())){
  library(shiny)} else{install.packages("shiny")
  library(shiny)}
runGitHub("AdRI", "SandraKla")

Method 2 (not recommended): Download the Zip-File from this Shiny App. Unzip the file and set your working direction to the path of the folder. The package shiny and shinydashboard must be installed before using the Shiny App:

# Test if shiny is installed:
if("shiny" %in% rownames(installed.packages())){
  library(shiny)} else{install.packages("shiny")
  library(shiny)}

And then start the app with the following code:

runApp("app.R")

All required packages are downloaded when starting this app or imported if they already exist.