I work in a corporate environment where it would be extremely inconvenient to have a system default browser set to anything other than IE; but I'd much rather use Chrome/Firefox for anything to do with R.
I know you can change the web browser used by R's browseURL()
function by setting the "browser"
global option. However, it seems that RStudio overrides this (even if it's set in .First()
in .Rprofile
) with a custom rs_browseURL
C++ function that doesn't respect the R_BROWSER
environment variable.
Is there any way to configure the R/RStudio combination to use a web browser other than the system default?