r: Any comment line which includes at least four trailing dashes...

Description Usage Arguments Value Examples

View source: R/r.R

Description

Any comment line which includes at least four trailing dashes (-), equal signs (=), or pound signs (#) automatically creates a code section.

Usage

1
2
3
4
5
6
r(
  start = 1,
  end = as.numeric(length(readLines(file, warn = FALSE))),
  file = dir()[grep("\\.R$", dir(), ignore.case = TRUE)][1],
  number.is.section = FALSE
)

Arguments

method2order
cex
mar

Value

None

Examples

1
r(1, 10)

alexanderksen/runlines documentation built on Sept. 3, 2020, 1:59 p.m.