I am trying to run the following R script in windows shell:
Rscript C:/Documents/Folder name containing space/myscript.txt
In this case I g
Simple solution: install a newer version of R.
From the version 3.5.1 release notes, the relevant bug fix is described here:
Allow file argument of Rscript to include space even when it is first on the command line.