Consider the following `quarto` document:

````
---
title: "Untitled"
format: pdf
jupyter: python3
---

```{python}
#|echo: false

%load_ext rpy2.ipython
```

```{python}
#| result: asis

%%R

x <- c(1, 2)
names(x) <- c('a', 'b')
print(x)
```
````

The output is misformatted:

![x](https://user-images.githubusercontent.com/75945439/214046829-96531b7d-f270-4dc5-9ef1-523852730d5f.png)


2023-01-23T13:05:57Z
psads-git
closed
Misformatted Quarto R magic chunk output
https://github.com/quarto-dev/quarto-cli/issues/4133