Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-03 Thread Martin Maechler
> "MM" == Martin Maechler <[EMAIL PROTECTED]> > on Thu, 1 Sep 2005 13:39:52 +0200 writes: > "StEgl" == Stephen Eglen <[EMAIL PROTECTED]> > on Thu, 1 Sep 2005 12:09:15 +0100 writes: StEgl> If the last line of an R script does not have a StEgl> trailing newline, a sm

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Jan T. Kim
On Thu, Sep 01, 2005 at 01:39:52PM +0200, Martin Maechler wrote: > >> getwd()proc.time() > StEgl> Error: syntax error Execution halted $ > > aahh, now I finally understand via some people append > those **ugly** unneeded ';' to the end of almost every line of R > code. It would have help

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Stephen Eglen
> You didn't tell us the *platform* you run R on > (and BATCH does depend on the platform), > but I know that it's a version of unix, Linux I suppose? Thanks Martin. Yes, linux - scientific linux 3 here. __ R-devel@r-project.org mailing list https

Re: [Rd] R CMD BATCH on scripts without trailing newline

2005-09-01 Thread Martin Maechler
> "StEgl" == Stephen Eglen <[EMAIL PROTECTED]> > on Thu, 1 Sep 2005 12:09:15 +0100 writes: StEgl> If the last line of an R script does not have a StEgl> trailing newline, a small errror is produced at the StEgl> end of the script. StEgl> Small example. If file eg.r co