warnings2character: Returns the warning messages stored in 'x' which is an object...

Description Usage Arguments

View source: R/warnings2character.R

Description

Returns the warning messages stored in 'x' which is an object of type "warnings" as retunred from warnings().

Usage

1
2
warnings2character(x = warnings(), numbering = TRUE, header = TRUE,
  width.cutoff = 50L, nlines = 2L)

Arguments

x

is the warnings-object to translate to character string vector.

numbering

is TRUE if numbering should be adde to the warnings, as is done when warnings() is used.

header

is TRUE the first string of the output is "Warning message" or "Warning messages".

width.cutoff

is an integer in [20, 500] determining the cutoff at which line-breaking is tried.

nlines

is an integer giving the maximum number of lines to produce. Negative values indicate no limit.


arnejohannesholmin/echoIBM documentation built on March 19, 2018, 9:16 a.m.