This help topic is for R version 0.60. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/cat.html
cat {base}R Documentation

Concatenate and Print

Usage

cat(... , file = "", sep = " ", fill = FALSE, labels = NULL,
    append = FALSE)

Arguments

...
file

character string naming the file to print to. If "", cat prints to the standard output.

sep

character string to insert between the objects to print.

fill

???

labels

character vector of labels for the lines printed.

append

if TRUE, output will be appended to file; otherwise, it will overwrite the contents of file.

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 <- iter + 1, "\n")

[Package base version 0.60 ]