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/paste.html
paste {base}R Documentation

Concatenate Strings

Description

paste converts its arguments to character strings, and concatenates them (separating them by the string given by sep). If a value is specified for collapse, the values in the result are then concatenated into a single string, with the elements being separated by the value of collapse.

The concatenated value is returned as the value of paste.

Usage

paste(..., sep = " ", collapse = NULL)

See Also

as.character, substr, nchar, strsplit.

Examples

paste(1:12) # same as as.character(..)
paste("A", 1:6, sep = "")
paste("Today is", system.date())

[Package base version 0.60 ]