In order to run a Shiny web application, it is important to consider that
server.R, and, if needed,
global.R must be placed in the same folder. If an HTML document is used, a folder named
www must be created in the application folder to hold the HTML document. Additionally, it must be named
There are three basic ways to run the applications. They are as follows:
runApp(): This opens a browser and executes the application locally. It receives a string representing a directory as an argument. If no argument is provided,
runApp()defaults to the working directory.
runGitHub(): This works exactly as
runApp(), but instead of looking for the files locally, it connects to a gist or a GitHub repository, ...