Accessing / using the R console with a brilliant app

Does anyone know if it is possible to access the R console when running a brilliant application? (running a brilliant app in the background will also be useful if possible)

I need this to manipulate objects in .GlobalEnv that are used in a brilliant application, and this needs to be done using the command line.

When the application starts, the console starts. Is it possible to access the console from the application?

Thanks in advance!

+7
r console shiny
source share
1 answer

Well, I had similar doubts! In my case, the solution was to create my own Shiny server: https://github.com/rstudio/shiny-server

On the one hand, I have an application inside the RStudio IDE when I want to change or check new items. Indeed, this is a test version. To run the application, you run runApp (dir) every time the port changes.

On the other hand, I have a stable version inside the Shiny server. This is a useful way to connect from different devices and have an online version while you make some changes. The application works all the time, you need to configure the port in this file: /etc/shiny-server/shiny-server.conf.

If you need more information about the Shiny server, refer to this website: https://rstudio.imtqy.com/shiny-server/latest/#configuration-settings

0
source share

All Articles