I have some R code inside a file called analyse.r. I would like to be able to, from the command line (CMD), run the code in that file without having to pass through the R te
Identify where R is install. For window 7 the path could be
1.C:\Program Files\R\R-3.2.2\bin\x64> 2.Call the R code 3.C:\Program Files\R\R-3.2.2\bin\x64>\Rscript Rcode.r