catn {toscutil}R Documentation

Concatenate and Print

Description

Same as cat but with an additional argument end, which gets printed after all other elements. Inspired by pythons print command.

Warning: this function is deprecated and should no longer be used. The function is guaranteed to be available as part of the package until the end of 2023 but might removed at any time after 31.12.2023.

Usage

catn(..., sep = " ", end = "\n")

Arguments

...

objects passed on to cat

sep

a character vector of strings to append after each element

end

a string to print after all other elements

Value

No return value, called for side effects

Examples

catn("hello", "world") # prints "hello world\n"

[Package toscutil version 2.7.4 Index]