powered by
paste(x, collapse)
collapse(x, sep = ",")
vector
character(1)
collapse
paste
collapse(c("foo", "bar")) collapse(c("foo", "bar"), sep = ";")
Run the code above in your browser using DataLab