Hi the Posit Community,
I am considering the following piece of code:
myfun <- function() {
message("first message")
plot(x = seq(3), y = seq(3))
message("second message")
}
myfun()
When I run it in a Rmarkdown notebook with the chunk output inline option, second message is rendered in the plot space rather than in the R-console space with first message.
I would like have it displayed in the same space than
first message to have a better readability and have all the console information at the same place, with the same formatting. Is there a way to do this ?
Note that I do not have this problem when I run myfun in the console.
Thank you for your answers, and the great work in Rstudio !
NB : I am using RStudio 2026.01.1+403 "Apple Blossom" Release (0e924abb984501b0d66b204ea06b60fc7813275a, 2026-02-04) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2026.01.1+403 Chrome/140.0.7339.249 Electron/38.7.2 Safari/537.36, Quarto 1.8.25
