The R Project SVN R

Rev

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

Rev 7357 Rev 8783
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.7 $'
5
revision='$Revision: 1.8 $'
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
usage="Usage: R BATCH [options] infile [outfile]
9
usage="Usage: R BATCH [options] infile [outfile]
10
 
10
 
Line 22... Line 22...
22
as \`--' was not encountered, and are passed on to the R process, which
22
as \`--' was not encountered, and are passed on to the R process, which
23
by default is started with \`--restore --save --no-readline'.
23
by default is started with \`--restore --save --no-readline'.
24
 
24
 
25
Report bugs to <R-bugs@lists.r-project.org>."
25
Report bugs to <R-bugs@lists.r-project.org>."
26
 
26
 
27
opts="--restore --save --no-readline"
27
opts="--restore --save --no-readline --gui=none"
28
 
28
 
29
while test -n "${1}"; do
29
while test -n "${1}"; do
30
  case ${1} in
30
  case ${1} in
31
    -h|--help)
31
    -h|--help)
32
      echo "${usage}"; exit 0 ;;
32
      echo "${usage}"; exit 0 ;;