R package: Split code chunks in R Markdown. Addin for RStudio.
Inserts:
´´´
´´´{r}
By Ludvig R. Olsen, Cognitive Science, Aarhus University. Started in Feb. 2017
Contact at: r-pkgs@ludvigolsen.dk
Main functions:
- splitChunk
Development version:
install.packages("devtools")
devtools::install_github("LudvigOlsen/splitChunk")
- Install package.
- Add key command (e.g. mac: cmd-alt-shift-i, win: ctrl-alt-shift-i) by going to:
- Tools > Addins > Browse Addins > Keyboard Shortcuts.
- Find Split Code Chunk and press its field under Shortcut.
- Press desired key command.
- Press Apply.
- Press Execute.
- Press chosen key command inside an R Markdown code chunk.