Skip to content
Prev 319595 / 398506 Next

does R read commands from scripts instantanously or seuqently during processing

On 15/03/2013 10:40, Jannis wrote:
If reading from stdin, it does (like any other interpreter): however 
stdin is buffered if re-directed, so the input script is read in blocks 
from a file (the size of the block depending on the OS).
R is Open Source, and you can read the code of source().  It really 
isn't hard to see that it parses the whole file, then executes the 
parsed expressions one at a time.