Naresh Gurbuxani writes:
Can you escape spaces with backslash?
(setq org-babel-R-command “c:/Program\ Files/Microsoft/R\
Open/R-3.5.1/bin/R.exe —slave —no-save”)
Another way is to use single quotes:
(setq org-babel-R-command “'c:/Program Files/Microsoft/R
Open/R-3.5.1/bin/R.exe' —slave —no-s
It works! You made my day.
Thanks,
Naresh
Sent from my iPhone
> On Jun 28, 2022, at 2:40 PM, Bruno Barbier wrote:
>
> Naresh Gurbuxani writes:
>
>> In my windows computer, R is installed at c:/Program Files/Microsoft/R
>> Open/R-3.5.1/bin
>>
>> Notice two spaces: “Program Files” and “R O
Naresh Gurbuxani writes:
> In my windows computer, R is installed at c:/Program Files/Microsoft/R
> Open/R-3.5.1/bin
>
> Notice two spaces: “Program Files” and “R Open”
>
> How can I set the variable org-babel-R-command?
>
> I tried
> (setq org-babel-R-command “c:/Progra~1/Microsoft/R Open/R-3.5
In my windows computer, R is installed at c:/Program Files/Microsoft/R
Open/R-3.5.1/bin
Notice two spaces: “Program Files” and “R Open”
How can I set the variable org-babel-R-command?
I tried
(setq org-babel-R-command “c:/Progra~1/Microsoft/R Open/R-3.5.1/bin/R.exe
—slave —no-save”)
But the s