The R Project SVN R

Rev

Rev 11515 | Rev 31478 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11515 Rev 20002
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# ${R_HOME}/bin/BATCH
3
# ${R_HOME}/bin/BATCH
4
 
4
 
5
revision='$Revision: 1.11 $'
5
revision='$Revision: 1.12 $'
6
version=`set - ${revision}; echo ${2}`
6
version=`set - ${revision}; echo ${2}`
7
version="R batch front end ${version}
7
version="R batch front end ${version}
8
 
8
 
9
Copyright (C) 2000 The R Core Development Team.
9
Copyright (C) 2000 The R Core Development Team.
10
This is free software; see the GNU General Public Licence version 2
10
This is free software; see the GNU General Public Licence version 2
Line 12... Line 12...
12
 
12
 
13
usage="Usage: R CMD BATCH [options] infile [outfile]
13
usage="Usage: R CMD BATCH [options] infile [outfile]
14
 
14
 
15
Run R non-interactively with input from infile and place output (stdout
15
Run R non-interactively with input from infile and place output (stdout
16
and stderr) to another file.  If not given, the name of the output file
16
and stderr) to another file.  If not given, the name of the output file
17
is the one of the input file, with a possible \`.R' extension stripped,
17
is the one of the input file, with a possible '.R' extension stripped,
18
and \`.Rout' appended.
18
and '.Rout' appended.
19
 
19
 
20
Options:
20
Options:
21
  -h, --help		print short help message and exit
21
  -h, --help		print short help message and exit
22
  -v, --version		print version info and exit
22
  -v, --version		print version info and exit
23
  --			end processing of options
23
  --			end processing of options
24
 
24
 
25
Further arguments starting with a \`-' are considered as options as long
25
Further arguments starting with a '-' are considered as options as long
26
as \`--' was not encountered, and are passed on to the R process, which
26
as '--' was not encountered, and are passed on to the R process, which
27
by default is started with \`--restore --save --no-readline'.
27
by default is started with '--restore --save --no-readline'.
28
 
28
 
29
Report bugs to <r-bugs@r-project.org>."
29
Report bugs to <r-bugs@r-project.org>."
30
 
30
 
31
opts="--restore --save --no-readline --gui=none"
31
opts="--restore --save --no-readline --gui=none"
32
 
32