powered by
cat(sprintf(...))
catf(..., file = "", append = FALSE, newline = TRUE)
sprintf
character(1)
cat
logical(1)
FALSE
TRUE
msg = "a message." catf("This is %s", msg)
Run the code above in your browser using DataLab