Running RShiny in Code Ocean
Interactive web applications can be created and shared in R (using the shiny library) with the Shiny Cloud Workstation.

To automatically load a Shiny app when opening the Shiny Cloud Workstation, ensure the appropriate Shiny files (server.R and ui.R) are placed in the root of the /code folder. These files cannot be located in subdirectories.

If the shiny.R and ui.R files are in nested subdirectories within the /code folder, upon opening the Shiny Cloud Workstation the contents of /code will be listed with hyperlinks to all files and folders. To load your Shiny app in this case, navigate to the folder containing your Shiny app files and click to open the app.

Was this helpful?