The first standalone R script
Standalone R scripts are not executed by the program R (R.exe under Windows), but by a program called Rscript (Rscript.exe), which is included in your R installation by default.
To hint at this fact, standalone R scripts start with a special line called Shebang line, ...