From: John Hendy <jw.hendy@gmail.com>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: HowTo? have R :sessions in org mode invoke a specific R
Date: Mon, 4 Nov 2013 12:02:00 -0600 [thread overview]
Message-ID: <CA+M2ft_yk0u3YLY0XfWJYc-8A+nKXifoLsppfkwxid_n9tjuFA@mail.gmail.com> (raw)
In-Reply-To: <D4772401B9D976478C0895769BE3E792C203C3@MBSRV02.sgc.loc>
On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm <MEC@stowers.org> wrote:
> I wish to lock an org buffer to a particular installation of R so that all code blocks use it.
>
> I found that I could not, for instance, write `:session R-3.0.1`.
>
> Is there some best way for me to accomplish this?
>
> Perhaps some way of setting inferior-R-program-name to a buffer local value?
I'm no good at in-buffer variables, but this one looks of interest:
org-babel-R-command
Mine on linux is just set to `R --slave --no-save`, but on Windows, I
have to set the full path, so there's no reason you couldn't do the
same (just that I simply use setq() and you'd be doing it in-buffer).
Hope that helps,
John
>
> Thanks!
>
> ~Malcolm
>
>
next prev parent reply other threads:[~2013-11-04 18:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-04 17:22 HowTo? have R :sessions in org mode invoke a specific R Cook, Malcolm
2013-11-04 18:02 ` John Hendy [this message]
2013-11-25 21:16 ` Cook, Malcolm
2013-11-25 21:56 ` Nick Dokos
2015-10-16 19:44 ` Cook, Malcolm
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=CA+M2ft_yk0u3YLY0XfWJYc-8A+nKXifoLsppfkwxid_n9tjuFA@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=MEC@stowers.org \
--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).