A simple shiny app is a directory containing two R scripts, one is ui. R , which controls the layout and appearance of your app, the other is server. R , which contains the instructions that your computer needs to build your app. Note that the names for the scripts are fixed, you should NOT use other names.