Add R snow example and use Rscript rather than R CMD BATCH