powered by
Combine sprintf and writeLines to generate formatted output
sprintf
writeLines
printf(...)
output to be printed
x <- 123 printf("x value: %d", x)
Run the code above in your browser using DataLab