xaringan icon indicating copy to clipboard operation
xaringan copied to clipboard

[feature] - incremental R output separate from code

Open Shaunson26 opened this issue 9 months ago • 1 comments

Is it possible to have incremental output chunks? I like to explain the code before revealing the output. Thus, I am often writing

```{r, eval=F}
#some code
``` 

--

```{r, echo=F}
#the same code
```

By filing an issue to this repo, I promise that

  • [ x] I have fully read the issue guide at https://yihui.org/issue/.
  • [ x] I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('xaringan'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('yihui/xaringan').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • [ x] I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Shaunson26 avatar May 16 '24 14:05 Shaunson26