Rscript file path with space

后端 未结 4 1218
情话喂你
情话喂你 2020-12-21 00:46

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

4条回答
  •  清歌不尽
    2020-12-21 01:10

    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.

提交回复
热议问题