Re: [R] Synatx Error on start with R --no-save < myfile.R

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Wed 14 Jul 2004 - 03:04:18 EST

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



R-help@stat.math.ethz.ch 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 Received on Wed Jul 14 03:11:41 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:54:56 EST