Add pdf file in Rmarkdown file


Is it possible to display a pdf file in an Rmarkdown file? Say, for example, a previously saved image :'myimage.pdf'

What I am aiming is a form of "\includegraphics[width=0.5]{myimage.pdf}"

Best Solution

An update from the very end of 2017
It is possible to import a PDF image using knitr::include_graphics(), e.g.

{r label, out.width = "85%", fig.cap = "caption"} include_graphics("path-to-your-image.pdf")

Related Question