emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Send line to R process from babel block?
Date: Thu, 22 Aug 2013 10:00:22 -0500	[thread overview]
Message-ID: <CA+M2ft8wqwwObpksVVteJpcnM9TmDTrAOcnv0XZVh8uSRf2R1w@mail.gmail.com> (raw)

If one opens file.R and does =C-RET= on a line, it sends it to the
current ESS R process running (or starts a new process and then sends
the line).

Is this possible from babel blocks? I would find this extremely
helpful when troubleshooting in order to run lines of code up to my
problem spot vs. my current practice of copying, switching buffers,
then yanking into the R session buffer.

Is this already possible? I looked around at some of the completions
for =M-x org-babel-*=, but didn't see anything promising.


Thanks,
John

             reply	other threads:[~2013-08-22 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 15:00 John Hendy [this message]
2013-08-22 15:34 ` Send line to R process from babel block? Erik Iverson
2013-08-22 15:41   ` John Hendy

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+M2ft8wqwwObpksVVteJpcnM9TmDTrAOcnv0XZVh8uSRf2R1w@mail.gmail.com \
    --to=jw.hendy@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).