Skip to content
Prev 30136 / 398503 Next

Combining the components of a character vector

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

best,

Torsten