Skip to content
Prev 30134 / 398503 Next

Combining the components of a character vector

On Thursday 03 April 2003 01:54, John Miyamoto wrote:

            
R> x <- c("Bob", "loves", "Sally")
R> paste(x, collapse = " ")
[1] "Bob loves Sally"

For further info a look at help(paste) might help
Z