catn: Function for Formatted Output

View source: R/catn.R

catnR Documentation

Function for Formatted Output

Description

Wrapper around base::cat() with a line break. Elements are converted to character and concatenate with base::paste0(). If a vector is passed, elements are collapsed with line breaks.

Usage

catn(..., file = "")

Arguments

...

(any)
Arguments passed down to base::paste0().

file

(character(1))
Passed to base::cat().

Examples

catn(c("Line 1", "Line 2"))

mlr-org/mlr3misc documentation built on April 28, 2024, 11 p.m.