Re: [R] does R read commands from scripts instantanously or seuqently during processing

2013-03-15 Thread Prof Brian Ripley
On 15/03/2013 10:40, Jannis wrote: Dear all, thanks, Rolf and Jeff, for your replies. The command below runs under Suse Linux. I guess, hoewever, the phenomena I observed would heappen under other oprating systems as well. The reason why I asked was that R produced some error messages that did n

Re: [R] does R read commands from scripts instantanously or seuqently during processing

2013-03-15 Thread Jannis
Dear all, thanks, Rolf and Jeff, for your replies. The command below runs under Suse Linux. I guess, hoewever, the phenomena I observed would heappen under other oprating systems as well. The reason why I asked was that R produced some error messages that did not really point me to the direct

Re: [R] does R read commands from scripts instantanously or seuqently during processing

2013-03-14 Thread Rolf Turner
On 03/15/2013 05:13 AM, Jannis wrote: Dear R community, when I source a script into R via: R --slave < scriptname.R is the whole script file read at once during startup or is each indivdual line of code read seqnetially during the execution (i.e. directly before r processes the respective

Re: [R] does R read commands from scripts instantanously or seuqently during processing

2013-03-14 Thread Jeff Newmiller
Your use of the "<" redirection operator is an operating system feature, not an R feature. I am not aware of any operating system that that would function properly in the use case you describe. It is possible, and common, to construct your input file as a stream as you go. But a stream is not a

[R] does R read commands from scripts instantanously or seuqently during processing

2013-03-14 Thread Jannis
Dear R community, when I source a script into R via: R --slave < scriptname.R is the whole script file read at once during startup or is each indivdual line of code read seqnetially during the execution (i.e. directly before r processes the respective command)? In other words, can I savel