Also ?sprintf for another approach. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111
> -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Johannes Huesing > Sent: Tuesday, September 28, 2010 5:25 AM > To: r-help@r-project.org > Subject: Re: [R] Combining two variables in text > > trb1 <thomasrbol...@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:johan...@huesing.name from such a trifling investment of fact. > http://derwisch.wikidot.com (Mark Twain, "Life on the > Mississippi") > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.