...
Expand | ||
---|---|---|
| ||
This option opens the RStudio Server integrated development environment, where you can develop your R and R Shiny code.
|
Expand | ||
---|---|---|
| ||
This option opens the R Shiny Web App (“web front-end”). It is the end-user facing interface of R Shiny. Click the second button, “View Shiny Site”, to connect to the Shiny Server interactive data web app. |
Expand | ||
---|---|---|
| ||
This option opens the back-end Linux Virtual Machine on which your RStudio Server is running. It is useful if you need to access the file system directly, or need to do administrative work on the Linux command line.
|
How do I upload my existing R Shiny web app to my RStudio and Shiny Server?
...
Verify that the R Studio and Shiny Server web app access is working, by visiting the Shiny site (see above “Connecting to the R Shiny Web App”). You should see the “Welcome to Shiny Server!” default Shiny demo app.
Open RStudio Server (see above “Connecting via RStudio Server”).
In the “Files” panel at the bottom right of RStudio, check that the current working folder is
/srv/shiny-server
. This is the default folder that Shiny uses to store web app files.
If the current working folder is
/srv/shiny-server
, continue to Step 5. Otherwise, click “…” on the far right of the panel to change the working folder. Enter/srv/shiny-server
when prompted for a new Path to folder.
Delete the files of the “Welcome to Shiny Server!” demo app:
Select the checkboxes in front of index.html and sample-apps folder.
Click the “Delete” icon. When prompted, confirm that you want to delete the selected files.
...
Upload your existing R Shiny web app files into the same folder (
/srv/shiny-server
).
The uploaded Shiny app will now be hosted on your RStudio and Shiny Server. You can verify this by visiting the Shiny site. When you do so you should see your web app rather than the default welcome site.
...