[R] Very long console input lines

alessandro.valli@AMD.com
2003-09-17T14:15:02Z

Hallo all,

I got a problem executing R in batch-mode via a perl-script (under Win2000) :
	system ("Rterm.exe --slave --no-save --no-restore \<Rfile.r
\>NUL");
The R execution is aborting with syntax error due to very-long lines.
My solution is converting
a <- c("very long string")
to
a <- paste("short string 1",\n
                "short string 2",\n
                      ...,\n
                "short string n")
It is not very elegant ...
Does anybody know a better solution ?

Thank you in advance,
Alessandro Valli