[R] strings spanning multiple lines

Tamas Papp tpapp at axelero.hu
Sun Mar 9 10:16:51 CET 2003

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"


> print(a)
[1] "multiple \nlines"

How could I avoid the extra linebreak ("\n")?


Tamas Papp

Tamás K. Papp
E-mail: tpapp at axelero.hu (preferred, especially for large messages)
        tpapp at westel900.net
Please try to send only (latin-2) plain text, not HTML or other garbage.

More information about the R-help mailing list