Rev 2510 | Rev 7217 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!/bin/sh## ${RHOME}/bin/BATCHOPTS="--restore --save --no-readline"while test -n "${1}"; docase ${1} in--) shift; break ;;--vsize|--nsize|-v|-n)OPTS="${OPTS} ${1} ${2}"; shift 2 ;;-*) OPTS="${OPTS} ${1}"; shift ;;*) break ;;esacdoneIN=${1}OUT=${2-`basename ${1} .R`.Rout}(echo "invisible(options(echo = TRUE))"cat ${IN}echo "proc.time()") | ${RHOME}/bin/R ${OPTS} >${OUT} 2>&1