From p.dalgaard@biostat.ku.dk  Sat Dec 27 01:50:53 1997
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 27 Dec 1997 02:50:53 +0100
Subject: Error in parse
In-Reply-To: Kurt Hornik's message of Mon, 22 Dec 1997 10:24:20 +0100
References: <97Dec19.134854est.27048@mailgate.bank-banque-canada.ca>
 <199712220924.KAA08507@pc25.none>
Message-ID: <x2g1nfv9j6.fsf@blueberry.kubism.ku.dk>

Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at> writes:

> 
> >>>>> Paul Gilbert writes:
> 
> > In R 0.60.1 when I source a fairly large file of code I am getting:
> > Error in parse(file, n, text, prompt) : syntax error on line 2985
> 
> > I don't see any error and it doesn't happen if I split the file in two
> > pieces.  increasing -v -n does not seem to help and does not change
> > the location of the error. Does anyone have suggestions?
> 
> Two suggestions:
> 
> * Does the problem occur at the end of the file?  Then, the problem
> might be a final newline ...
> 
> * Does the file contain ASCII 0 characters?

- and a third: 

Are you by any chance executing external programs with system()? This
is playing tricks on "make tests" at them moment, because the pager
eats up the remainder of the input file...I suspect that source()
within source() will do weird things too.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


Error in parse
Peter Dalgaard BSA