messageDF | R Documentation |
message
with a consistent use of verbose
This family has a consistent use of verbose
allowing messages to be
turned on or off or verbosity increased or decreased throughout the family of
messaging in reproducible
.
messageDF(
df,
round,
colour = NULL,
colnames = NULL,
indent = NULL,
verbose = getOption("reproducible.verbose"),
verboseLevel = 1,
appendLF = TRUE
)
messagePrepInputs(
...,
appendLF = TRUE,
verbose = getOption("reproducible.verbose"),
verboseLevel = 1
)
messagePreProcess(
...,
appendLF = TRUE,
verbose = getOption("reproducible.verbose"),
verboseLevel = 1
)
messageCache(
...,
colour = getOption("reproducible.messageColourCache"),
verbose = getOption("reproducible.verbose"),
verboseLevel = 1,
appendLF = TRUE
)
messageQuestion(..., verboseLevel = 0, appendLF = TRUE)
.messageFunctionFn(
...,
appendLF = TRUE,
verbose = getOption("reproducible.verbose"),
verboseLevel = 1
)
messageColoured(
...,
colour = NULL,
indent = NULL,
hangingIndent = TRUE,
verbose = getOption("reproducible.verbose", 1),
verboseLevel = 1,
appendLF = TRUE
)
df |
A data.frame, data.table, matrix |
round |
An optional numeric to pass to |
colour |
Any colour that can be understood by |
colnames |
Logical or |
indent |
An integer, indicating whether to indent each line |
verbose |
Numeric, -1 silent (where possible), 0 being very quiet,
1 showing more messaging, 2 being more messaging, etc.
Default is 1. Above 3 will output much more information about the internals of
Caching, which may help diagnose Caching challenges. Can set globally with an
option, e.g., |
verboseLevel |
The numeric value for this |
appendLF |
logical: should messages given as a character string have a newline appended? |
... |
Any character vector, passed to |
hangingIndent |
Logical. If there are |
messageDF
uses message
to print a clean square data structure.
messageColoured
allows specific colours to be used.
messageQuestion
sets a high level for verbose
so that the message always gets asked.
Used for side effects. This will produce a message of a structured data.frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.