rk.set.indent: Globally define the indentation string

View source: R/rk.set.indent.R

rk.get.indentR Documentation

Globally define the indentation string

Description

Many functions allow to manually set the indentation string that should be used for code formatting. The default string used can be globally defined with rk.set.indent, so you don't have to specify it in each function call.

Usage

rk.get.indent(escape = FALSE)

rk.set.indent(by = "\t")

Arguments

escape

Logical, if set to TRUE each occurring "\t" will be escaped by an additional "\".

by

Character string, indentation string to be defined globally.

Details

rk.get.indent returns the set value, which defaults to a tab character by default.

Value

rk.set.indent returns invisible(NULL), rk.get.indent a character string.


rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.