summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Davison <davison@stats.ox.ac.uk>2010-08-03 00:12:53 -0400
committerDan Davison <davison@stats.ox.ac.uk>2010-08-03 00:14:56 -0400
commit5122aee4a7c806a7ef07ce1d49a32ada658e31b4 (patch)
treec9a1913860e0b0598933f54ad22271a8296adaed
parent34144f9a954e2a55933fa4470111bff2307b1390 (diff)
downloadorg-mode-5122aee4a7c806a7ef07ce1d49a32ada658e31b4.tar.gz
babel: R: Specify that tables are tab-delimited
2010-08-03 Dan Davison <davison@stats.ox.ac.uk> * ob-R.el (org-babel-R-evaluate): Specify that tabular data is tab-delimited Prior to this we had #+begin_src R c("some words", "with spaces") #+end_src #+results: | some | words | | with | spaces |
-rw-r--r--lisp/ob-R.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-R.el b/lisp/ob-R.el
index eae3669..e9633ae2 100644
--- a/lisp/ob-R.el
+++ b/lisp/ob-R.el
@@ -230,7 +230,7 @@ return the value of the last statement in BODY, as elisp."
"FALSE")))
(org-babel-R-process-value-result
(org-babel-import-elisp-from-file
- (org-babel-maybe-remote-file tmp-file)) column-names-p))))
+ (org-babel-maybe-remote-file tmp-file) '(16)) column-names-p))))
;; comint session evaluation
(case result-type
(value
@@ -251,7 +251,7 @@ return the value of the last statement in BODY, as elisp."
(inferior-ess-send-input))
(org-babel-R-process-value-result
(org-babel-import-elisp-from-file
- (org-babel-maybe-remote-file tmp-file)) column-names-p)))
+ (org-babel-maybe-remote-file tmp-file) '(16)) column-names-p)))
(output
(mapconcat
#'org-babel-chomp