From: "Cook, Malcolm" <MEC@stowers.org>
To: Charles Berry <ccberry@ucsd.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
Nicolas Goaziou <mail@nicolasgoaziou.fr>
Subject: Re: BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround
Date: Sat, 7 Nov 2015 23:22:22 +0000 [thread overview]
Message-ID: <3333fb4a-6541-4b80-b1b4-e7f6ff80ee83@email.android.com> (raw)
In-Reply-To: <alpine.OSX.2.20.1511071329550.2982@charles-berrys-macbook.local>
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
Thanks Chuck for setting this through.
I've never been happy at how Babel arranged the inter process communication with R including the need for cleaning up the output with scary regular expressions like this.
Also there are some of uses of temp files that sometime cause of bugs especially when running R under tramp on a remote host. I'll be sure to report it next time I see it.
I've wondered if there is not a better way for Babel to share an interactive session with the user. For instance, if we wanted to support a new form of results processing on addition to value and output.... Namely, "transcript", wherein the results of evaluating a source block would be a transcript of the season with statements interwoven with their respective outputs.... I suspect that this would not be easy extension of the current approach since it would require parsing the source into statements that get evaluated sequentially with visible results echoed into the transcript.
But I digress.....
Thanks again for running with my workaround....
On Nov 7, 2015 3:31 PM, "Charles C. Berry" <ccberry@ucsd.edu> wrote:
On Thu, 5 Nov 2015, Nicolas Goaziou wrote:
[...]
> Would you want to provide a patch for that (and commit it while you're
> at it)?
>
Done.
Chuck
[-- Attachment #2: Type: text/html, Size: 1967 bytes --]
next prev parent reply other threads:[~2015-11-07 23:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 19:59 BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround Cook, Malcolm
2015-10-01 21:56 ` Charles C. Berry
2015-10-01 23:15 ` Cook, Malcolm
2015-10-08 19:24 ` Charles C. Berry
2015-10-08 20:41 ` Cook, Malcolm
2015-11-05 12:57 ` Nicolas Goaziou
2015-11-06 23:11 ` Charles C. Berry
2015-11-07 21:30 ` Charles C. Berry
2015-11-07 21:41 ` Nicolas Goaziou
2015-11-07 23:22 ` Cook, Malcolm [this message]
2015-11-08 0:32 ` Charles C. Berry
2015-11-09 20:04 ` Cook, Malcolm
2015-11-09 20:56 ` Charles C. Berry
2015-11-09 22:11 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3333fb4a-6541-4b80-b1b4-e7f6ff80ee83@email.android.com \
--to=mec@stowers.org \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.