Philipp Heuser wrote:

Dear all!

I wrote my R-code with an editor and loaded it with source("my_file.R"). Everything works fine as expected.

When I try to start my code with:
R --no-save < my_file.R


I do get a synatx error half way through. The version is 1.9.0 on a Linux system. To start it with R --no-save < my_file.R works on some machines but on some it doesn't.


Strange, you might experience that some buffers reaching their limits. But we cannot know without the code in my_file.R

Anyway, please try the recommended solution instead:

  R BATCH --no-save my_file.R

Uwe Ligges





Are there any rules I've to consider, when I want to start it that way?
Any ideas what might cause syntax errors when starting code like that?

Regards
Philipp



______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to