### Bug description



Steps to reproduce:

1. Render the following file.
````
---
title: "MWE"
format: pptx
---

```{r results="asis"}
library(ggplot2)

print(ggplot(mtcars, aes(x = wt)) + geom_histogram())
```
````

Expected output: A Powerpoint document with a title slide and a histogram on the second slide.
Observed output: A Powerpoint document with only a title slide and no histogram.

Note that we get the correct result if we remove `results="asis"`, or if we change format to `html`.


Running on RStudio 2022.07.2 Build 576 within Windows 10.


### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cderv
2022-12-16T03:01:48Z
Xitian9
bug windows
v1.3
closed
ggplot output in "asis" R code blocks is not included in Powerpoint output
https://github.com/quarto-dev/quarto-cli/issues/3683