How to set default browser to Internet Explorer in R? How to set default browser to Internet Explorer in R? windows windows

How to set default browser to Internet Explorer in R?


A solution could be to create a file named .Rprofile in your home directory and put the following line:

 options(browser="path/to/IE")

Of course, you have to replace the path/to/IE part to the actual path to the IE executable (could be something like C:\\Program Files\\Internet Explorer\\iexplore.exe\).

Restart R and try for instance browseURL("www.google.com") to see if it has taken effect.