I am new to R and want some help to execute .R script.
I have saved a test.R script in Documents folder on my windows machine.
Need some help for step by step execution of the script using Rterm.
Below is the error that I get when I try to execute the script. I have already set the directory in Rterm.
Rscript test.R
Error: unexpected symbol in "Rscript test.R"