View source: R/string.utilities.R
message_print | R Documentation |
print
objects to the message
output.A thin wrapper around print
that captures its output and prints
it as a message
, usually to STDERR.
message_print(..., messageArgs = NULL)
... |
arguments to |
messageArgs |
a list of arguments to be passed directly to |
cat(1:5)
print(1:5)
message_print(1:5) # Looks the same (though may be in a different color on some frontends).
suppressMessages(print(1:5)) # Still prints
suppressMessages(message_print(1:5)) # Silenced
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.