subject | R Documentation |
Add or query subject of message.
subject(
msg,
subject = NULL,
prefix = NA,
suffix = NA,
interpolate = TRUE,
.open = "{{",
.close = "}}",
.envir = NULL
)
msg |
A message object. |
subject |
A subject for the message. |
prefix |
A subject prefix. |
suffix |
A subject suffix. |
interpolate |
Whether or not to interpolate into input using glue. |
.open |
The opening delimiter. |
.close |
The closing delimiter. |
.envir |
Environment used for |
The prefix
and suffix
can be used to add extra
subject
abbreviations.
A message object or the subject of the message object (if subject
is NULL
).
to
, from
, cc
, bcc
and reply
# Create a message and set the subject
msg <- envelope() %>% subject("Updated report")
# Retrieve the subject for a message
subject(msg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.