Which will shiny-server choose as default, app.r or server.r?

shiny-server

#1

Hi,

if I have both server.r and app.r in a same shiny-server folder, which will be chosen as the default for the application?

And where can I see detail logs if I see this error message:
[INFO] shiny-server - Error getting worker: Error: The application exited during initialization.

Thanks!
Jon


#2

technically it's either a combination of ui.R and server.R

or

it is a single app file with name app.R

pick one and shiny-server will choose it.


#3

Thanks Anantadinath!


#4

You might find these articles helpful:

https://shiny.rstudio.com/articles/app-formats.html