From: Payas Relekar <relekarpayas@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babal-R-command
Date: Tue, 28 Jun 2022 18:33:27 +0530 [thread overview]
Message-ID: <877d51lz0k.fsf@gmail.com> (raw)
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
--
next reply other threads:[~2022-06-30 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-28 13:03 Payas Relekar [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-28 12:54 org-babal-R-command Naresh Gurbuxani
2022-06-28 18:42 ` org-babal-R-command Bruno Barbier
[not found] ` <8d5a82ef-d444-4820-8a63-5544ec60bab4@HE1EUR02FT064.eop-EUR02.prod.protection.outlook.com>
2022-06-28 19:01 ` org-babal-R-command Naresh Gurbuxani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d51lz0k.fsf@gmail.com \
--to=relekarpayas@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).