The R Project SVN R

Rev

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

Rev 31478 Rev 35484
Line 4... Line 4...
4
 
4
 
5
revision='$Revision: 1.13 $'
5
revision='$Revision: 1.13 $'
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--2003 The R Core Development Team.
9
Copyright (C) 2000--2005 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
11
or later for copying conditions.  There is NO warranty."
11
or later for copying conditions.  There is NO warranty."
12
 
12
 
13
opts="--restore --save --no-readline"
13
opts="--restore --save --no-readline"
14
 
14
 
Line 49... Line 49...
49
in=${1}
49
in=${1}
50
out=${2-`basename ${1} .R`.Rout}
50
out=${2-`basename ${1} .R`.Rout}
51
 
51
 
52
(echo "invisible(options(echo = TRUE))"
52
(echo "invisible(options(echo = TRUE))"
53
  cat ${in}
53
  cat ${in}
54
  echo "proc.time()"
54
  echo ''; echo "proc.time()"
55
) | ${R_HOME}/bin/R ${opts} >${out} 2>&1
55
) | ${R_HOME}/bin/R ${opts} >${out} 2>&1
56
 
56
 
57
### Local Variables: ***
57
### Local Variables: ***
58
### mode: sh ***
58
### mode: sh ***
59
### sh-indentation: 2 ***
59
### sh-indentation: 2 ***