From the course: Building Data Apps with R and Shiny: Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Connecting RStudio with shinyapps.io

Connecting RStudio with shinyapps.io

From the course: Building Data Apps with R and Shiny: Essential Training

Start my 1-month free trial

Connecting RStudio with shinyapps.io

It's fairly easy to configure RStudio to deploy apps to ShinyApps.io. Let's see how we can do that in our exercise files. Let's go to folder 10_02 and we'll open up our RStudio project. Let's open up our uI.R and our server.R file and we're going to run our Shiny app to see what we have. Okay, so we have a Shiny app with three pull down menus. I'm going to chose Americas for continent. I'm going to choose Canada and I'm going to choose second education pupils and I'm going to click update chart. We have some spinners and then a world map and a chart of our data. So that's quite a complicated Shiny app. Let's publish this to ShinyApps.io. To do that I'm going to click on publish and I'm told that I need to connect a publishing account. I'm going to click on next and it asks me to choose between ShinyApps.io and RStudio Connect. RStudio connect is a server product that you can purchase from RStudio directly. ShinyApps.io is the hosted solution for Shiny apps. So let's click on that…

Contents