How to make your R-scripts attractive to other people

You have written your own R-script to solve a statistical problem and want to share it with other people who are not familiar with R? Develop your own Shiny-App!


Shiny is an R package that makes it easy to build interactive web apps straight from R. You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards. And you can also extend your Shiny apps with CSS themeshtmlwidgets, and JavaScript actions.



Shiny combines the computational power of R with the interactivity of the modern web. And the best is: Shiny apps are easy to write. No special web development skills are required to create your own applications. 


I tried it by myself because I wanted to share a statistical power calculation tool with people who are not familiar with R. All I did was watch this Youtube video and read some explanations about the necessary commands. And here you see the result - My fist Shiny-App:


Fig1. Screenshot of the Shiny-App with required code on the right side. 


As you can see above only a few commands (right side) are needed to program the app you see on the left side. When you start a new Shiny-project in R-studio you'll automatically get an example file, so that the basic framework already exists. You only need to add your code snippets - that's it!


After finishing your work your directly can upload your app to the web. 


Fig 2. Upload you Shiny-App directly from R-Studio.


Try it out and you'll be as thrilled as I am! For sure!