org-babel: remove prompt characters from R output
commit64c26c6561fd1c556531170f9287c232e056ffa7
authorDan Davison <davison@stats.ox.ac.uk>
Wed, 30 Sep 2009 22:51:00 +0000 (30 18:51 -0400)
committerDan Davison <davison@stats.ox.ac.uk>
Tue, 20 Oct 2009 03:34:13 +0000 (19 23:34 -0400)
treef5ca33eb0e25b28a743016b5856921dc1f685295
parent4dba8ad21f543ce03b9b55bfc209cb3a2c06d7ad
org-babel: remove prompt characters from R output

When evaluating R code in a persistent session, lines of output
typically start with a single prompt character. However, under certain
circumstances, lines start with a concatenation of (primary and
secondary) prompt characters separated by spaces. This seems to be
related to having blank lines in the input. This fix ensures that all
such prompt characters are removed from the output.
contrib/babel/lisp/langs/org-babel-R.el