emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-babal-R-command


From: Payas Relekar
Subject: Re: org-babal-R-command
Date: Tue, 28 Jun 2022 18:33:27 +0530
User-agent: mu4e 1.8.0; emacs 29.0.50

Naresh Gurbuxani <naresh_gurbuxani@hotmail.com> 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-save”)

Thanks,
Payas


> 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 space between R and Open is a problem.  What is the solution?
>
> Thanks,
> Naresh
>
> Sent from my iPhone

--



reply via email to

[Prev in Thread] Current Thread [Next in Thread]