From: Duncan Murdoch (dmurdoch@pair.com)
Date: Sun 15 Jul 2001 - 05:48:06 EST
Message-id: <ta81lt0esgi6m9iboo0unu477jvbrlieep@4ax.com>
On Sat, 14 Jul 2001 11:08:48 -0700 (PDT), you wrote:
>Hi, All:
>
>I try to type some long string in R console, whenever
>I like to change to a new line, I get error message.
There are two ways. End each line with a backslash, i.e.
s <- 'Start of long string\
second line of long string'
This puts a \n in the string. I don't know if there's a way to avoid
that on input, but you case use paste:
s <- paste('Start of long string',
'second part of long string')
Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:19 EST