How can I insert pdf images in Rmarkdown on Windows system?

Viewed 36

The most common way to insert a pdf image in an rmarkdown file is to use:

knitr::include_graphics("image.pdf")

or

![](image.pdf)

However, this does not work on a Windows OS. If you run this on a Windows OS, it will show

This picture can't be displayed

for docx outputs and

Couldn't load plugin

for html outputs. Is there a way to work around this?

0 Answers
Related