
The first time you sign in, shinyapps.io prompts you to set up your account. Go to shinyapps.io and click “Dashboard.” The site will ask you to sign in using your email and password, your Google account, or your GitHub account. You can install it by running the R command: install.packages ( 'rsconnect' )Īfter the rsconnect package has been installed, load it into your R session: library ( rsconnect ) Create a shinyapps.io account The rsconnect package is now hosted on CRAN. The rsconnect package deploys applications to the shinyapps.io service. The latest version of the rsconnect R package.An R development environment, such as the RStudio IDE.This article will show you how to create a shinyapps.io account and deploy your first application to the cloud.īefore you get started with shinyapps.io, you will need: Step 17: You can now edit the app (or replace the entire code by another of your app), and run the app again by clicking on the Run App is a platform as a service (PaaS) for hosting Shiny web apps (applications). Step 16: After several seconds (depending on the weight of your app), the Shiny app should appear in your internet browser: Step 15: Go back to the window where you can publish your app, choose a title (without space) and click on the Publish button: Your computer is now authorized to deploy applications to your shinyapps.io account. Step 14: Go back to RStudio, paste the code in the console and run it: Step 13: Copy the code and click on the OK button:

Step 12: Now the code is complete (nothing is hidden anymore). Step 11: Click on the Show Secret button: Create one by clicking on the Add Token button. Step 10: If this is your first app, there should be no token already created. Step 9: Click on your name and then on Tokens Step 8: Click on the Dashboard button to log in into your account: Step 7: Click on the link to your ShinyApps account: Step 6: Click on the first alternative (ShinyApps.io):

Click on “Add New Account” to link the shinyapps.io account you just created: Step 5: If it is your first Shiny app, the box “Publish From Account” should be empty. Run the app by clicking on the Run App button to see the result: Step 3: In the same way as when you open a new R Markdown document, the code for a basic Shiny app is created.

Step 2: Give it a name (without space), choose where to save it and click on the Create button: Step 1: Open RStudio and create a new Shiny app:
