John Miyamoto wrote:

> Suppose I have a character vector.
> x <- c("Bob", "loves", "Sally")
>
> I want to combine it into a single string:  "Bob loves Sally" .
> paste(x) yields:
> paste(x)
> [1] "Bob"   "loves" "Sally"

> ....

Try:

> paste(x,collapse=" ")

and

> help(paste)

--Peter

-------------------------------------------------------------------------------
 Peter Wolf,   Statistik/Informatik,   Fak.f.Wiwi,   Uni Bielefeld
 pwolf@wiwi.uni-bielefeld.de, http://www.wiwi.uni-bielefeld.de/~wolf/wolf.html
-------------------------------------------------------------------------------



	[[alternate HTML version deleted]]

