I have the exact same problem as related here: RStudio won't run code in Quarto document - RStudio IDE - Posit Community
It seem to have started after I used the shortcut to insert code block (I was using source mode, not visual mode).
I have the exact same problem as related here: RStudio won't run code in Quarto document - RStudio IDE - Posit Community
It seem to have started after I used the shortcut to insert code block (I was using source mode, not visual mode).
This happens to me in Positron when I do not leave any spaces between a text (or a previous code block) and a new code block. Each code block needs to have space before and after it, like:
Blablabla this is a text blabla.
```{r}
head(mtcars)
```
Blablabla this is a text blabla.
```{r}
head(mtcars)
```
It can happen also when the text is below the code block.
I hope it works!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.