I launch the standalone R Shiny application for Windows in a browser by setting options(browser=path/to/browser/exe ) and using shiny::runApp("path/to/app", launch.browser=TRUE) . The support browser is MSIE (by default), but if available, it can also be Chrome or Firefox. My goal is to launch the application as if the command line option --app= for a standalone Chrome application, that is, in a new browser window, which is deprived of the menu bar and toolbar but retains the title (so itβs not in the βkioskβ) , if possible, without any other browser content (for example, previously opened tabs or the home page). What is the best way to do this?
For example, using JavaScript, you could call:
window.open("http://127.0.0.1:5555/", "MyApp", "menubar=no,toolbar=no,location=no");
which would do the job (+/- inconsistent support for location=no , i.e. disabling the address bar with which I can live). Now how to do it using R Shiny?
source share