I want to create a self-contained html from a quarto (rmarkdown) notebook. Whenever I include plots, the notebook stops being self-contained. I feel like I am missing one option but I cant find it. In addition to the option "self-contained" I also tried "embed-resources" with same results.
I am using R version 4.1.2, VSCode and quarto version 1.2.335.
Here is the example, thanks (sorry the stackoverflow tags are messing with the quarto code tags). When I render it, I get the file ,test.html’ and the folder ‘test_files’ instead of just one html file.
---
title: "Test"
format:
html:
self-contained: true
---
```{r}
x <- y <- 1:10
```
```{r}
plot(x, y)
```