Learn R Programming

spAddins (version 0.2.0)

rmd_code_block: Convert rows into the block of code

Description

RStudio add-in to insert selected lines into code block:

  • rmd_r_code_block() - R code block;

  • rmd_code_block() - verbatim code block.

rs_enclose_all_with_lines - function that adds lines above and below the selection.

Usage

rmd_code_block_r()

rmd_code_block()

Arguments