From Kurt.Hornik@ci.tuwien.ac.at  Mon Dec 22 09:24:20 1997
From: Kurt.Hornik@ci.tuwien.ac.at (Kurt Hornik)
Date: Mon, 22 Dec 1997 10:24:20 +0100
Subject: Error in parse
In-Reply-To: <97Dec19.134854est.27048@mailgate.bank-banque-canada.ca>
References: <97Dec19.134854est.27048@mailgate.bank-banque-canada.ca>
Message-ID: <199712220924.KAA08507@pc25.none>

>>>>> 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?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
Kurt Hornik