Let's assume I have an R script located in C:\Users\user\myscript.R. How can I assign a hotkey (e.g., F1) so that every time that I press that hotkey the R script will be executed in the background (i.e., without opening Rstudio)?
Note:
I use Windows 10 and have AutoHotkey installed which might help to bind the script to the key.
Rscript --vanilla filename? - Rui BarradasRun- D. PardalRun, C:\Program Files\R\R-4.0.0\bin\Rscript.exe, C:\Users\user\myscript.Rwithout success. Maybe I'm missing something. - mat.batfile with"...\Rscript.exe" "...\myscript.R"written in it. - Daniel O