emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: 'John Hendy' <jw.hendy@gmail.com>
Cc: 'Org-Mode' <emacs-orgmode@gnu.org>
Subject: Re: HowTo? have R :sessions in org mode invoke a specific R
Date: Mon, 25 Nov 2013 21:16:34 +0000	[thread overview]
Message-ID: <D4772401B9D976478C0895769BE3E792C3E4A0@MBSRV02.sgc.loc> (raw)
In-Reply-To: <CA+M2ft_yk0u3YLY0XfWJYc-8A+nKXifoLsppfkwxid_n9tjuFA@mail.gmail.com>

>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

Indeed, John,  that is the variable I would like to have respected when I

(setq-local inferior-R-program-name "R-3.0.1")


But, alas it is not.

Any other takers?

Thanks!



  reply	other threads:[~2013-11-25 21:16 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
2013-11-25 21:16   ` Cook, Malcolm [this message]
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=D4772401B9D976478C0895769BE3E792C3E4A0@MBSRV02.sgc.loc \
    --to=mec@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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).