I want to run, from a bash script, an interactive (shiny) report. I am using the following bash command:
Rscript -e "library(LEEF.analysis); db <- '$DB'; report_interactive();"
The function report_interactive rund=s the following command:
rmarkdown::run( file = system.file("InteractiveReport.Rmd", package = "LEEF.analysis") )
Now I get a line in bash which says
Listening on http://127.0.0.1:3544 with changing ports.
When I now open
http://127.0.0.1:3544/InteractiveReport.Rmd the report opens in Safari.
Now I would like to automate the workflow and directly open the shiny app in Safari. Is this possible?