printfp {W4MRUtils} | R Documentation |
printfp - to paste, format and print a string
Description
printfp calls paste and sprintf of its parameters to build the error message and prints with the given message
Usage
printfp(x, ...)
Arguments
x |
a list of format string to concatenate before using sprintf on it. |
... |
Arguments passed on to
|
Author(s)
L.Pavot
Examples
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
)
[Package W4MRUtils version 1.0.0 Index]