[R] error in parse

kjetil halvorsen kjetilh at umsanet.edu.bo
Fri Dec 7 19:59:05 CET 2001



Prof Brian Ripley wrote:
> 
> What's strange?: there is an error in that file on or before line 6!

Thats not the error. Even after changing the file,. making it more
reasonable, and removing some blank lines, exactly the same error
occurs. And there is no syntax error in the file, cut and paste work
perfectly.

Kjetil Halvorsen
> 
> On Fri, 7 Dec 2001, kjetil halvorsen wrote:
> 
> > I am trying to source a file defining a dataset, giving the full path.
> > (rw1031 on windows 98)
> >
> > > source("c:\\kjetil\\audiometria\\data\\audiometria.R")
> > Error in parse(file, n, text, prompt) : syntax error on line 6
> >
> > also:
> >
> > > parse(file="c:\\kjetil\\audiometria\\data\\audiometria.R", n=-1)
> > Error in parse(file, n, text, prompt) : syntax error on line 6
> >
> > This seems very strange. Trying to read the file with data()
> > gives the same error.
> >
> >
> > Kjetil Halvorsen
> > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> > r-help 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-help-request at stat.math.ethz.ch
> > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> >
> 
> --
> 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 272860 (secr)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list