View source: R/warnings2character.R
warnings2character | R Documentation |
Returns the warning messages stored in 'x' which is an object of type "warnings" as retunred from warnings().
warnings2character(
x = warnings(),
numbering = TRUE,
header = TRUE,
width.cutoff = 50L,
nlines = 2L
)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.