powered by
printf calls sprintf of its parameters to build the error message and prints with the given message
printf(...)
Arguments passed on to base::sprintf
base::sprintf
fmt
a character vector of format strings, each of up to 8192 bytes.
L.Pavot
file <- "/tmp/test" printf("Error in file: ", file)
Run the code above in your browser using DataLab