DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Run R From The Command Line
// This runs R from the command line in batch mode.
// The log file is output to track R's progress
R CMD BATCH --vanilla path/to/file.R file.log &





