messagef | R Documentation |
Combines warning
with sprintf
thus allowing string interpolated diagnostic messages.
messagef(s, ...)
s |
a character vector of format strings |
... |
values to be interpolated |
## Not run: messagef("%.3f is not larger than %d and/or smaller than %d", pi, 10, 40) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.