powered by
message(sprintf(...))
messagef(...)
sprintf
msg <- "a message" warningf("this is %s", msg)
Run the code above in your browser using DataLab