BATCH                  package:base                  R Documentation

_B_a_t_c_h _E_x_e_c_u_t_i_o_n _o_f _R

_D_e_s_c_r_i_p_t_i_o_n:

     Run R non-interactively with input from 'infile' and send output
     (stdout/stderr) to another file.

_U_s_a_g_e:

     R CMD BATCH [options] infile [outfile]

_D_e_t_a_i_l_s:

     Use 'R CMD BATCH --help' to be reminded of the usage.

     By default, the input commands are printed along with the output. 
     To suppress this behavior, add 'options(echo = FALSE)' at the
     beginning of 'infile'.

     The 'infile' can have end of line marked by LF or CRLF (but not
     just CR), and files with an incomplete last line (missing end of
     line (EOL) mark) are processed correctly.

     Using 'R CMD BATCH' sets the GUI to '"none"', so none of 'x11',
     'jpeg' and 'png' are available.

_N_o_t_e:

     Unlike 'Splus BATCH', this does not run the R process in the
     background.  In most shells, 'R CMD BATCH [options] infile
     [outfile] &' will do so.

     Report bugs to r-bugs@r-project.org.

