The R Project SVN R

Rev

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

Rev 74000 Rev 77228
Line 1... Line 1...
1
#
1
#
2
# ${R_HOME}/bin/BATCH
2
# ${R_HOME}/bin/BATCH
3
 
3
 
4
revision='$Rev: 74000 $'
4
revision='$Rev: 77228 $'
5
version=`set - ${revision}; echo ${2}`
5
version=`set - ${revision}; echo ${2}`
6
version="R batch front end: ${R_VERSION} (r${version})
6
version="R batch front end: ${R_VERSION} (r${version})
7
 
7
 
8
Copyright (C) 2000--2018 The R Core Team.
8
Copyright (C) 2000--2018 The R Core Team.
9
This is free software; see the GNU General Public License version 2
9
This is free software; see the GNU General Public License version 2
Line 52... Line 52...
52
if test -z "${timing}"; then
52
if test -z "${timing}"; then
53
  R_BATCH=${$}
53
  R_BATCH=${$}
54
  export R_BATCH
54
  export R_BATCH
55
fi
55
fi
56
## this used to set options(echo=TRUE), but that is the default
56
## this used to set options(echo=TRUE), but that is the default
57
## except for --slave, and why inhibit the latter?
57
## except for --no-echo, and why inhibit the latter?
58
 
58
 
59
## need to put -f first in case user does --args
59
## need to put -f first in case user does --args
60
${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} >${out} 2>&1
60
${R_HOME}/bin/R -f ${in} ${opts} ${R_BATCH_OPTIONS} >${out} 2>&1
61
 
61
 
62
### Local Variables: ***
62
### Local Variables: ***