cat {base} | R Documentation |
cat(... , file = "", sep = " ", fill = FALSE, labels = NULL,
append = FALSE)
... |
|
file |
character string naming the file to print to. If
|
sep |
character string to insert between the objects to print. |
fill |
??? |
labels |
character vector of labels for the lines printed. |
append |
if |
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.
## print an informative message
cat("iteration = ", iter <- iter + 1, "\n")