Skip to content
Prev 3240 / 12125 Next

[R-pkg-devel] creating a link to a vignette in a .Rd file

On Mon, Nov 19, 2018 at 4:49 PM Fox, John <jfox at mcmaster.ca> wrote:
Have you confirmed that a raw file:// url works?  I would be mildly
surprised if it did, given my understanding of how web browser
security works (which is patchy, but you should still check before
going too far down this path).

Don't you just need `results=rd` ?

\Sexpr[results=rd]{paste0("\\url{file://", system.file("doc",
"partial-residuals.pdf", package="effects"), "}")}

Hadley