[ top | up ]

Concatenate and Print

Syntax

cat(... , sep="")

Value

cat converts its arguments to character strings, concatenates them, separating them by the given sep= string, and then prints them.

cat is useful for producing output in user defined functions.

Examples

# print an informative message cat("iteration = ",iter,"\n")