0

I'm unable to load images for my RMarkdown when I use runtime:shiny

Here is a small example, without "runtime:shiny" it's working fine, but if I uncomment this line, it doesn't work:

    ---
title: "Untitled"
output: 
  html_document:
#runtime: shiny
---

```{r }
knitr::include_graphics("D:/Maths/pic.png")```


  • If you want run with shiny, then you need to embed image the shiny way: https://stackoverflow.com/questions/21996887/embedding-image-in-shiny-app – lz100 Apr 18 '22 at 19:20

0 Answers0