Shiny - R Based Interactive Web Application Framework
- File > New Project > New Directory > Shiny Web Application
- Create project as subdirectory of :Select the folder where you want your Shiny app in
- Directory name: Enter the name of your app
Once you do that, it will create a simple Shiny app which takes an input and plots a histogram using some random data. Now to run the app, first set the working directory of the folder where your ui.R and server.R are created using the commands as below:
Once you do that, install Shiny package using the command as below:
This is one time downloading of package from CRAN, later you can just load the library. Now load the library using: library (Shiny) and then run the app using : runApp() And there you go. Your Shiny app is up and running! If you are a data scientist and working in R programming language for the same, you can definitely use Shiny app for data visualization as well as presentations. Shiny also works with RMarkdown which generates reports.