[R] R BATCH problem
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jul 1 18:15:46 CEST 2004
On Thu, 1 Jul 2004, Andreas Pauling wrote:
> Dear all
> at the prompt works fine.
Are you sure? It does not work for me, stopping in exactly the same place
as you report for batch, and assuming the line break is casued by the mail
> Also source() works well. However, when
> calling a script that contains just this single command with R
> BATCH <script> the number "1160" is changed to "116+ 0" and this
> results in a syntax error. Why is that and how can it be fixed? I
By using a reasonable line length! R has a line length limit of 1024
chars on input. The + is a continuation prompt for the next line.
> use R Version 1.8.1 under Linux SUSE 9.
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
More information about the R-help