Access/use R console when running a shiny app

后端 未结 3 777
我寻月下人不归
我寻月下人不归 2021-02-19 04:06

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)

3条回答
  •  没有蜡笔的小新
    2021-02-19 04:47

    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

提交回复
热议问题