diff --git a/lisp/ob-R.el b/lisp/ob-R.el index 396949757..09c895016 100644 --- a/lisp/ob-R.el +++ b/lisp/ob-R.el @@ -294,7 +294,7 @@ last statement in BODY, as elisp." (mapcar (lambda (line) ;; cleanup extra prompts left in output (if (string-match - "^\\([ ]*[>+][ ]?\\)+\\([[0-9]+\\|[ ]\\)" line) + "^\\([ ]*[>+\\.][ ]?\\)+\\([[0-9]+\\|[ ]\\)" line) (substring line (match-end 1)) line)) (org-babel-comint-with-output (session org-babel-R-eoe-output)