rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
712 stars 291 forks source link

Support for multiple R versions #542

Closed AshesITR closed 1 year ago

AshesITR commented 1 year ago

When serving mutliple shiny apps from the same server, it would be nice if the R executable to be used could be specified on a per-app basis. Currently this is only possible using the environment variable R=/path/to/R/exe, which takes effect for all apps hosted by the server.

Ideally, the R version to be run could be detected from the renv.lock file if the shiny app project makes use of renv.

philibe commented 1 year ago

Maybe this article can be adaptable to support multiple R version:

shiny.rstudio.com, Jeff Allen, Dec 16, 2020 : Allowing different libraries for different apps on Shiny Server, Shiny Server Pro, and RStudio Connect

AshesITR commented 1 year ago

This is a Pro only feature: https://docs.posit.co/shiny-server/#r_path