You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiline commands hanging in Quarto and R Markdown chunks #17350
RStudio Edition : Desktop
RStudio Version : 2026.04.0-daily+471
OS Version : Windows 11
R Version : 4.5.3
Steps to reproduce the problem
I R Markdown or Quarto, a chunk like
```{r}
1 +
2
```
or
```{r}
sum(1,
2)
```
Then run the chunk.
Describe the problem in detail
The chunk hangs. The status indicator shows that it only reaches the first line. The line is shown in the console, but then there's a second line beginning with + and no further movement. R Markdown and Quarto documents aren't handling chunks with at least some commands that span multiple lines.
Describe the behavior you expected
These examples should work. This is a regression, as they work in 2026.01.0+39.
Activity
ronblum commentedon Apr 6, 2026
Note: They work correctly when the documents are rendered.
fix multiline expressions hanging in notebook chunks (#17350)
fix multiline expressions hanging in notebook chunks (#17352)
kevinushey commentedon Apr 7, 2026
Thanks for spotting that @ronblum! Should be fixed in the next builds; I've also added an automation test so we can catch this in the future.
ronblum commentedon Apr 7, 2026
Verified in RStudio Desktop 2026.04.0-daily+476 on Windows 11.
Added test spec tests/panes/editor/multiline_chunk_execution.test.ts.