Learn R Programming

BBmisc (version 1.5)

messagef: Wrapper for message and sprintf.

Description

A simple wrapper for message(sprintf(...)).

Usage

messagef(...)

Arguments

...
[any] See sprintf.

Value

  • Nothing.

Examples

Run this code
msg <- "a message"
warningf("this is %s", msg)

Run the code above in your browser using DataLab