You can get the shiny version that works with packageVersion :
> packageVersion("shiny") [1] '0.10.1'
If you need details on the server, you can make a system call:
> system('shiny-server --version', intern = TRUE) [1] "Shiny Server v1.1.0.10000" "Node.js v0.10.21"
or if you use a brilliant pro server, there is a health check endpoint that invokes
http:
will return an HTTP response with server information if the server is connected to the network:
server-version: 1.2.3.4 active-connections: 8 active-apps: 2 active-processes: 3 cpu-percent: 13 memory-percent: 49 swap-percent: 39.1 load-average: 1.01953125
see http://rstudio.imtqy.com/shiny-server/latest/#monitoring-the-server
source share