Hyperlink a pdf on local drive to rmarkdown html output

Maral Dorri

I am trying to make the citation of my report in rmarkdown to hyperlinks of the pdfs. I try the following:

[the citation](thefile.pdf) 

This works on my computer but if I send it to someone else the links don't work. I understand that I am not doing this properly, but this is how I do it for URLs. Is there any way I can have these pdfs attached to the rmarkdown?

jakeduck

You would need to upload your pdf's to the internet somewhere, and then put that link in the parentheses in the code snippet in your post. That code you posted would only work if the person had the same file in the same place on their computer.

[Your file](A google drive/dropbox link)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Change color of error messages in RMarkdown code output (HTML, PDF)

rmarkdown diagrammeR blank output to PDF

reStructuredText Hyperlink References a local pdf file

Disable all auto-hyperlink generation Rmarkdown pdf

Centering a Xtable in Rmarkdown html output

How to format a complex table for rmarkdown PDF output

RMarkdown pdf_output of ztable | xtable | htmlTable

Some Unicode characters not displayed in RMarkdown PDF output

Enable ligatures with Fira Code in PDF output of Rmarkdown

Stargazer output appears below text - rmarkdown to pdf

Rmarkdown - pdf output - stop iterations from printing

Cannot reproduce with bullets as output of pdf document in RMarkdown

Link HTML hyperlink with server at local disk

HTML hyperlink to a specific page of a pdf file

Javascript - read all filenames and output to html with hyperlink

Rmarkdown removes citation hyperlink

Java Set local file Hyperlink in existing pdf using itext

Link to a local html file on RMarkdown with Shiny

Print custom object in rmarkdown and knitr (PDF and HTML)

Regression Tables in R Markdown / rmarkdown (html/pdf)

JasperReports html and pdf output

Rmarkdown: Indentation of TOC items in HTML output

Rmarkdown html matrix output width too narrow

Use internal links in RMarkdown HTML output

Suppress alt text for GIFs in rmarkdown HTML output

dfSummary - formatting factor levels in html output in Rmarkdown?

Rotating a table in PDF output from RMarkdown with more than one page

Changing color of inline citations in a pdf output from RMarkdown

RMarkdown: set image as title page (pdf-output)