The R Project SVN R

Rev

Rev 9615 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9615 Rev 10108
Line 4... Line 4...
4
## file, i.e. write to stdout, `cat'ting the files together with
4
## file, i.e. write to stdout, `cat'ting the files together with
5
## 1) Putting a HEADER in front
5
## 1) Putting a HEADER in front
6
## 2) Wrapping every file in order to be more order independent
6
## 2) Wrapping every file in order to be more order independent
7
## 3) appending a FOOTER ...
7
## 3) appending a FOOTER ...
8
 
8
 
9
## Should work WHEREVER this is called from :
-
 
10
(cd `dirname $0`/..
-
 
11
  R_HOME=`pwd`; export R_HOME
-
 
12
)
-
 
13
R_HOME=`cd ${R_HOME}; pwd`	# absolute
-
 
14
 
-
 
15
PKG=${1}; shift; FILES="${@}"
9
PKG=${1}; shift; FILES="${@}"
16
 
10
 
17
## 1) ---- Header ----
11
## 1) ---- Header ----
18
(cat <<_EOF_
12
(cat <<_EOF_
19
attach(NULL, name = "CheckExEnv")
13
attach(NULL, name = "CheckExEnv")