#!/bin/bash #PBS -N TrySpp #PBS -e runTrySpp.log #PBS -o runTrySpp.log #PBS -l walltime=50:00:00 #PBS -l nodes=2:ppn=8 #PBS -l vmem=200000mb # runTrySpp.sh # # Created by Ivory on 13 November 2014 # # This document runs the R mark down script "TrySpp.Rmd" # Run this script using qsub. # # go to the directory where the command was run cd $PBS_O_WORKDIR # knit the R markdown Rscript -e 'lib.loc="/home/ieclabau/src/R/library"; .libPaths(lib.loc); library("knitr"); knit("TrySpp.Rmd")'