Skip to content

LudvigOlsen/splitChunk

Repository files navigation

splitChunk

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

Installation

Development version:

install.packages("devtools")

devtools::install_github("LudvigOlsen/splitChunk")

Use

  • 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.

Releases

No releases published

Packages

No packages published

Languages