Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Bookdown generated links in linux version of RStudio preview interpreted as relative

$
0
0

When I build any bookdown document, including the Bookdown demo into gitbook or epub, all the links in RStudio preview are interpreted a relative. Only pdf version works correctly because it opens in Evince.

e.g. the line from Index.Rmd

To compile this example to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): <https://yihui.name/tinytex/>.

when clicked in the preview gives an error:

/home/milo/https:/yihui.name/tinytex: No such file or directory 

The result is the same when I use other link syntax, like:

[tinytex](https://yihui.name/tinytex/)
[tinytex](<https://yihui.name/tinytex/>)

edit:

This problem only manifests in the linux version. The windows version opens the correct URL in a browser.


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>