On Thursday 03 Apr 2003 1:54 am, John Miyamoto wrote:
> Dear Help,
>    Suppose I have a character vector.
>
> x <- c("Bob", "loves", "Sally")
>
> I want to combine it into a single string:  "Bob loves Sally" .

y <- paste(c, collapse=" ")

best wishes

Ido

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to