knitr icon indicating copy to clipboard operation
knitr copied to clipboard

Feature request: knit_pause()

Open mine-cetinkaya-rundel opened this issue 5 years ago • 0 comments

I know about and regularly use knit_exit(). And I often find myself wanting a feature like knit_pause() to pause knitting between given spots in the document (especially when running xaringan::inf_mr() on a long presentation with lots of R code.

One option is to use HTML comment fences around such text, but I'd love a knitr R based solution that would work regardless of the output format.


By filing an issue to this repo, I promise that

  • [x] I have fully read the issue guide at https://yihui.name/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('knitr'). 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/knitr').
    • 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.

mine-cetinkaya-rundel avatar Nov 18 '19 21:11 mine-cetinkaya-rundel