[R] Combining two variables in text

Johannes Huesing johannes at huesing.name
Tue Sep 28 13:24:31 CEST 2010


trb1 <thomasrbolton at yahoo.co.uk> [Tue, Sep 28, 2010 at 12:12:01PM CEST]:
[...]
> Also, how can I combine several variables in text
> i.e. suppose I have 
> a <- "one"
> b <- "two"
> then what expression can I place in 
> title(main=...)
> in terms of a and b to give an output title of 
> "one, two" 
> i.e. a then b separated by a comma.
> 

Type ?paste at the prompt.

-- 
Johannes Hüsing               There is something fascinating about science. 
                              One gets such wholesale returns of conjecture 
mailto:johannes at huesing.name  from such a trifling investment of fact.                
http://derwisch.wikidot.com         (Mark Twain, "Life on the Mississippi")



More information about the R-help mailing list