Using knitr in Rstudio, when a .Rmd file is linked to a PDF, a file viewer appears. I would really like to change this to okular, but I cannot find a way to do this.
Looking at the Sweave settings, I see that the “system viewer” is marked for preview, but okular is already installed as my default system viewer. I also checked the default viewer using xdg-mime and okular is also the default. In all other cases, okular is the default, but Rstudio / knitr is always used by evince.
How can I change this behavior?
source
share