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

1 Like

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 -- https://askubuntu.com/questions/289337/how-can-i-change-file-association-globally might be helpful.

1 Like

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.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.