Преглед на файлове

Trying to retain whitespace in output results from R.

I don't believe this solves it, but chomp is more the right thing to
do than trim. I'd like to retain all the whitespace so that alignment
of columns is correct in stdout.
Dan Davison преди 16 години
родител
ревизия
8294122f8f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lisp/langs/org-babel-R.el

+ 1 - 1
lisp/langs/org-babel-R.el

@@ -138,7 +138,7 @@ last statement in BODY, as elisp."
 				 el))))
 			 (mapcar #'org-babel-trim raw))))))
         (case result-type
-          (output (org-babel-trim (mapconcat #'identity results "\n")))
+          (output (org-babel-chomp (mapconcat #'identity results "\n")))
           (value (org-babel-import-elisp-from-file tmp-file colnames)))))))