You need to use paste() instead of c(). Sarah
On Mon, Aug 10, 2009 at 11:35 AM, John Sorkin<jsor...@grecc.umaryland.edu> wrote: > R 2.81 > Windows XP > > > I am trying to produce a title that combines: > text, a computed value, text, a computed value > > The title contains everything I want, but each element of the title is on a > separate line, i.e. my title is five lines long. Is there anyway I can force > the entire title to be on the same line? The problem is not the length of the > title; it is short enough to fit on a shingle line. > > My R code follows: > > title(c(text,"Corr=",round(corrln$estimate,2),"p=",round(corrln$p.value,2))) > > Thanks, > John > -- Sarah Goslee http://www.functionaldiversity.org ______________________________________________ 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.