[R] one command on several lines

Nick Kostrov nikolai at eri.u-tokyo.ac.jp
Wed Dec 5 15:30:37 CET 2001


Hello!

Is it possible to continue expand one command on several lines in R ?

An attempt to write

a=c(1990," ",1991,
      1992, 
      1993,1994,1995,1996,1997,1998,
     1999)

in a file and then 

source('file')

results in 

Error in parse(file, n, text, prompt) : syntax error on line 55 



Thanks.

Nick
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list