Re: [O] 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

2015-11-09 Thread Cook, Malcolm
> [...] > > > > > > > [...] > > > > > > > > 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,

Re: [O] 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

2015-11-09 Thread Cook, Malcolm
> -Original Message- > From: Charles C. Berry [mailto:ccbe...@ucsd.edu] > Sent: Saturday, November 07, 2015 6:33 PM > To: Cook, Malcolm > Cc: emacs-orgmode@gnu.org > Subject: Re: BUG: emacs orgmode ob-R.el function org-babel-R-evaluate- > session over

Re: [O] 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

2015-11-09 Thread Charles C. Berry
On Mon, 9 Nov 2015, Cook, Malcolm wrote: [...] > > > [...] > > > > 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,

Re: [O] 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

2015-11-07 Thread Nicolas Goaziou
"Charles C. Berry" writes: > 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. Thank you. Regards,

Re: [O] 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

2015-11-07 Thread Charles C. Berry
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

Re: [O] 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

2015-11-07 Thread Charles C. Berry
On Sat, 7 Nov 2015, Cook, Malcolm wrote: Thanks Chuck for setting this through. [...] 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

Re: [O] 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

2015-11-07 Thread Cook, Malcolm
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

Re: [O] 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

2015-11-06 Thread Charles C. Berry
On Thu, 5 Nov 2015, Nicolas Goaziou wrote: Hello, "Charles C. Berry" writes: I have traced this back to its source, and the culprit appears to be me. See commit dc92eaa08d89e4bc9556f868ae65633196157a8d Author: Eric Schulte Date: Wed Jul 28

Re: [O] 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

2015-11-05 Thread Nicolas Goaziou
Hello, "Charles C. Berry" writes: > I have traced this back to its source, and the culprit appears to be me. > > See > commit dc92eaa08d89e4bc9556f868ae65633196157a8d > Author: Eric Schulte > Date: Wed Jul 28 08:05:30 2010 -0600 > and

Re: [O] 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

2015-10-08 Thread Charles C. Berry
On Thu, 1 Oct 2015, Cook, Malcolm wrote: I am not sure what the best solution is, but, in my hands using > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup > > extra prompts left in output" is over-aggressive and will trim session > > :output at lines consisting

Re: [O] 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

2015-10-08 Thread Cook, Malcolm
> On Thu, 1 Oct 2015, Cook, Malcolm wrote: > > >>> I am not sure what the best solution is, but, in my hands using > > > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to > > > > "cleanup extra prompts left in output" is over-aggressive and will > > > > trim session :output at

Re: [O] 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

2015-10-01 Thread Charles C. Berry
On Thu, 1 Oct 2015, Cook, Malcolm wrote: Hello , I am not sure what the best solution is, but, in my hands using Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup extra prompts left in output" is over-aggressive and will trim session :output at lines consisting

Re: [O] 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

2015-10-01 Thread Cook, Malcolm
> > I am not sure what the best solution is, but, in my hands using > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup > > extra prompts left in output" is over-aggressive and will trim session > > :output at lines consisting exclusively of blanks and periods such as >