catf {BBmisc} | R Documentation |
A simple wrapper for cat(sprintf(...))
.
catf(..., file = "", append = FALSE, newline = TRUE)
... |
[any] |
file |
[ |
append |
[ |
newline |
[ |
Nothing.
msg = "a message."
catf("This is %s", msg)
## This is a message.