Explorar el Código

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 |
Dan Davison hace 14 años
padre
commit
5122aee4a7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      lisp/ob-R.el

+ 2 - 2
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