Skip to content
Prev 32301 / 398513 Next

Calling R in BATCH mode from C programm

to redirect stderr).  I'll leave you to fathom that out (but as you are on
Windows, the R sources should give you many useful clues).  (Note that you 
do actually need a stdin and stdout to redirect, and a Windows application 
does not necessarily have them set up.)
On Tue, 20 May 2003 alkatz at post.tau.ac.il wrote:

            
That is actually <args.R >args.out: whether your form works depends on the 
OS and shell.  The effect is to redirect stdin/stdout and is done either 
by the shell or by the C initialization code.