is_batch function

Is ' ' Run in Batch Mode (via 'R CMD BATCH ' or 'Rscript ')?