file <- "/tmp/test"
printfp(
list(
"Very log error message that needs to be cut on multiple lines,",
"and paste back together, but there are formatings like",
"%%s for example, that provides a placeholder for parameters.",
"Here %%s value is %s."
), file
)
Run the code above in your browser using DataLab