[R] Complitation Error

MATT BORKOWSKI mpb170 at psu.edu
Tue May 28 20:15:49 CEST 2002


I'm attempting to run a function that I wrote by first typing:
>cruisesort <- emacs(function(){})

then pasting my function code into the window.  When I exit the window I 
receive the following compilation error.
>Error in edit(name, file, editor): An error occured on line 71

Line 71 reads as follows:
cruisenames <- c("cruise names")

I'm not sure exactly what the error message means so I haven't really been 
able to try much to fix the problem.  Can anyone give me an idea at what that 
error message might be getting at so I can have a starting point.  The strange
thing is, that section of code is also in a shorter function I had written that
ran fine.

I tried changing the line a bit and fixing the function up to simply run as a
source code.  Again when I try to run it I receive, but on a different line of
the program:
>Error in parse (file, n, text, prompt): Syntax error on line 75

Line 75:
condition <- "true"

Again, any information on these error messages and things I might look at
as being the source of the problem would be greatly appreciated.

Thanks,
Matt


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