Does anybody know if one is able to access the R console when running a shiny app? (running the shiny application in background would also be helpful, if that\'s possible)
Well, I had the similar doubt! In my case, the solution was to create my own Shiny server: https://github.com/rstudio/shiny-server
On the one hand, I have my app inside RStudio IDE when I want to change or to test new elements. Indeed this is the testing version. To run the application you execute runApp(dir), each time the port changes.
On the other hand, I have the stable version inside the Shiny server. This is a helpful way to connect from different devices and have a operative version while you are doing some changes. The application is running all of time, you have to configurate your port inside this file: /etc/shiny-server/shiny-server.conf.
If you need more information about Shiny server, consult this website: https://rstudio.github.io/shiny-server/latest/#configuration-settings