Using o-b-chomp rather than o-b-trim on R output.
This keeps columns of STDOUT correctly aligned.
This commit is contained in:
parent
162b522728
commit
7ac2e0d45f
|
@ -137,9 +137,9 @@ last statement in BODY, as elisp."
|
|||
(if (string-match comint-prompt-regexp el)
|
||||
(substring el (match-end 0))
|
||||
el))))
|
||||
(mapcar #'org-babel-trim raw))))))
|
||||
(mapcar #'org-babel-chomp raw))))))
|
||||
(case result-type
|
||||
(output (org-babel-chomp (mapconcat #'identity results "\n")))
|
||||
(output (mapconcat #'identity results "\n"))
|
||||
(value (org-babel-R-process-value-result
|
||||
(org-babel-import-elisp-from-file tmp-file) column-names-p)))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue