Learn R Programming

W4MRUtils (version 1.0.0)

printp: printp - to format a string and print it

Description

printp calls sprintf of its parameters to build the error message and prints with the given message

Usage

printp(...)

Arguments

...

Arguments passed on to base::sprintf

fmt

a character vector of format strings, each of up to 8192 bytes.

Author

L.Pavot

Examples

Run this code

file <- "/tmp/test"
printp("Error in file: ", file)

Run the code above in your browser using DataLab