How to run an R script file from the command line
问题 I know there are a lot of questions regarding this issue but I've tried everything and I think I just don't understand how the command line works in windows. I have a file saved in a folder on my desktop, let's say: C:\Users\abika_000\Desktop\R models\myfile.R Here is the directory to my R/bin or Rscript/bin: C:\Program Files\R\R-3.1.0\bin I want to run this code using the cmd prompt. How would I go about doing this? I've tried this solution from the question below but I just keep getting