Determine the appropriate GUI to instantiate
The native version of the dialog box displays different versions depending
on the OS (Linux, Windows or MacOS). In the case of 'RStudio', its own dialog
boxes are used, if they exist. However, in 'RStudio Desktop' only, and when
the argument rstudio = FALSE
is set, OS dialog boxes may be forced, and
the function would return the OS instead of RStudio
.
get_system(rstudio = getOption("svDialogs.rstudio", TRUE))
rstudio |
Logical. Should 'RStudio' dialog boxes automatically be used
if available? If |
A character scalar giving either "RStudio" or the result of
Sys.info()["sysname"]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.