printfp | R Documentation |
printfp calls paste and sprintf of its parameters to build the error message and prints with the given message
printfp(x, ...)
x |
a list of format string to concatenate before using sprintf on it. |
... |
Arguments passed on to
|
L.Pavot
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
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.