?paste will tell you how to assemble long strings from shorter ones.
On Sun, 9 Mar 2003, Tamas Papp wrote:
> I'd like to specify strings spanning multiple lines (ie too long to
> fit in a single line without spoiling pretty-printed R code). I tried
> the following way:
>
> > a <- "multiple \
> + lines"
>
> but
>
> > print(a)
> [1] "multiple \nlines"
>
> How could I avoid the extra linebreak ("\n")?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595