Hello folks,
I noted that code chunks in Rmarkdown/Rstudio will produce one 'R console' output with mixed content of different lines of code. While other output types will produce a sort of tabbed-window with previews below the chunk.
I wonder if there is any way to separate output of each line's results into different "console tabs" in the order of execution.
So results won't get visually mixed without creating several chunks, which is the most common approach suggested on other responses found after googling.
Example: Considere the next chunk.
In the middle there are 2 functions that produce a separate non-console outputs, while all those that outputs to console, gets mixed into one single "R console".
library(tidyverse)
str(heroes_full)
glimpse(heroes_full)
head(heroes_full)
as_tibble(heroes_full)
summary(heroes_full)
names(heroes_full)
As another example, another mathematical softwares, like for example Mathematica notebooks, outputs results in order of execution and have ways to silent a specific line if necessary (with an optional ';' at the end for example).
Thanks in advance