messagef | R Documentation |
Generate a formatted diagnostic message.
This function is a shortcut for message(sprintf(...))
.
messagef(fmt, ..., domain = NULL, appendLF = TRUE)
wnote(..., immediate. = TRUE)
fmt |
a character vector of format strings, each of up to 8192 bytes. |
... |
values to be passed into |
domain |
see |
appendLF |
logical: should messages given as a character string have a newline appended? |
immediate. |
logical, indicating if the call should be output
immediately, even if |
Returns nothing. Used for their side effects of printing messages/warnings.
wnote()
: throws a simple note as an immediate warning.
It is a shorcut for warning(..., immediate. = TRUE, call. = FALSE)
.
sprintf
, message
messagef("Hello %s number %i", 'world', 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.