Rev 42192 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
revision='$Rev: 42192 $'version=`set - ${revision}; echo ${2}`version="Sweave front-end r${version}Copyright (C) 2006 The R Core Development Team.This is free software; see the GNU General Public License version 2or later for copying conditions. There is NO warranty."usage="Usage: R CMD Sweave fileA simple front-end for Sweave()Options:-h, --help print short help message and exit-v, --version print Sweave version info and exitReport bugs to <r-bugs@r-project.org>."case ${1} in-h|--help)echo "${usage}"; exit 0 ;;-v|--version)echo "${version}"; exit 0 ;;esacR_EXE="${R_HOME}/bin/rterm.exe"echo "library(\"utils\"); Sweave(\"$1\")" | \"${R_EXE}" --no-restore --slave