# # ${R_HOME}/bin/Sweave R_EXE="${R_HOME}/bin/R" echo "utils:::.Sweave(\"$1\")" | "${R_EXE}" --vanilla --slave