fn builtin_cat(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Concatenate and print objects to stdout.
Converts each argument to character and writes them separated by sep.
Unlike print(), does not add a trailing newline unless the output contains one.
When file is specified, writes to that file instead of stdout. When append
is TRUE, appends to the file rather than overwriting.
@param … objects to concatenate and print @param sep separator string between elements (default: “ “) @param file a connection or file name to write to (default: “” meaning stdout) @param append logical; if TRUE, append to file (default: FALSE) @return NULL (invisibly)