Running RShiny in Code Ocean
Interactive web applications can be created and shared in R (using the shiny
library) with the Shiny Cloud Workstation.
By having the appropriate Shiny files (server.R
and ui.R
) in the code folder (first depth, the files cannot be in subdirectories) , upon opening the Shiny Cloud Workstation the app will automatically load.
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 - click the folder in which your Shiny App files are, and the app will load.