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.
Arguments
- ...
(
any
)
Arguments passed down tobase::paste0()
.- file
(
character(1)
)
Passed tobase::cat()
.
Examples
catn(c("Line 1", "Line 2"))
#> Line 1
#> Line 2