Shiny server
Reed has a separate server specifically for hosting Shiny apps with a link that others can access the app through.
Access
Unlike rstudio.reed.edu, you do not have default access to the Shiny server. To gain access to the Shiny server, first write rstudio-support@reed.edu to request access. Once access has been granted, log in at https://shiny.reed.edu/r/with your Kerberos credentials.
File structure
Inside of your home directory will be a folder called ShinyApps
(if this does not exist, create a folder). You should save each app you have in this server as a separate folder within ShinyApps
.
Accessing the user end of an app
The basic URL structure for an app is “https://shiny.reed.edu/s/users/*username*/*app_folder*/”.
For example, a basic “hello world” app is available at https://shiny.reed.edu/s/users/benp/hello/. On the server end, this app lives inside Home/ShinyApps/hello
.
Hosting a non-traditional Shiny app
Most apps consist of one (app.R
) or two (ui.R
and server.R
) R scripts, plus any supplementary files. If your file is instead an interactive R markdown file, save the file as ‘index.Rmd’ inside your app folder to access the user-end the same way as a traditional app.
Some more information on hosting this kind of document (often used for tutorials) can be found on the learnr
website.
But wait, there’s more.
For errors, questions, other troubles, or package installation requests, contact rstudio-support@reed.edu.