pm: Paste for message

View source: R/pm.R

pmR Documentation

Paste for message

Description

Combines the base functions paste0 and message

Usage

pm(..., collapse = NULL)

Arguments

...

one or more R objects, to be converted to character vectors. Input(s) to this argument will be passed onto the paste0 function.

collapse

an optional character string to separate the results. Not NA_character_. Input(s) to this argument will be passed onto the paste0 function.

Value

there will be no output from this function. Rather, a message will be generated from the arguments.

Examples

pm("hello", 123)
pm(c("hello", 123), collapse = ", ")

kim documentation built on Oct. 9, 2023, 5:08 p.m.

Related to pm in kim...