Rstudio Default Lauch Browser Issues


When I select 'Open in Browser' for HTML files it launches VScode, not chrome. This happens with files produced from knitting rmds and pkgdown sites. Shiny apps work fine. Any ideas on how to resolve?

Ubuntu 18.04.1
R version 3.4.4
RStudio version 1.1.456


RStudio uses whatever application is registered on the system as the default for opening .html files here. You'll need to update your file associations -- might be helpful.


These easiest way I found to update the default opening behavior was to right click on any file ending with .html, selecting 'Properties' and then on the 'Open With' tab selecting a web browser as the default application.