Description Usage Arguments Details Value Note Author(s)
A common interface for printing messages of several types.
1 | print_message(..., type, sep = "", date = FALSE, date_format = "")
|
... |
|
type |
Type of the output .Accepted values:
Intentionally, no default value is defined. |
sep |
(optional) character used to separate input values (default is nothing). |
date |
Logical value: set TRUE to place the date before the message (useful for logs or time consuming operations); default is FALSE. |
date_format |
Format of the date (see |
Several functions print messages in different formats
(message, error, warning, cat, R output) and with different syntaxes
(concatenating parameters or accepting a single argument, appending
a new line, etc.).
This accessory function provides a common interface for different types:
several arguments are accepted and concatenated with the sep
argument;
the format is defined with the format
argument; a date is optionally
placed before the message.
Message (in the defined format).
License: GPL 3.0
Luigi Ranghetti, phD (2017) ranghetti.l@irea.cnr.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.