I\'m a novice when it comes anything outside of coding for R. I\'ve looked up many similar posts but they aren\'t detailed enough as I\'m unfamiliar with many of the terms.
On Linux:
R CMD BATCH [options] my_script.R [outfile]
On Microsoft Windows (adjust the path to R.exe as needed):
"C:\Program Files\R\R-2.13.1\bin\R.exe" CMD BATCH --vanilla --slave "c:\my projects\my_script.R"
From here.