From 28c32628480b89ec8c1fb8e5cf774700b78d9c6a Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 19 Jul 2009 11:06:44 -0600 Subject: [PATCH 1/2] fixed variable name in org-babel-R-evaluate --- lisp/langs/org-babel-R.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/langs/org-babel-R.el b/lisp/langs/org-babel-R.el index b401a4073..c2ca67936 100644 --- a/lisp/langs/org-babel-R.el +++ b/lisp/langs/org-babel-R.el @@ -92,7 +92,7 @@ called by `org-babel-execute-src-block' via multiple-value-bind." (defvar org-babel-R-wrapper-method "main <- function ()\n{\n%s\n} write.table(main(), file=\"%s\", sep=\"\\t\", na=\"nil\",row.names=FALSE, col.names=%s, quote=FALSE)") -(defun org-babel-R-evaluate (buffer body result-type colnames) +(defun org-babel-R-evaluate (buffer body result-type column-names-p) "Pass BODY to the R process in BUFFER. If RESULT-TYPE equals 'output then return a list of the outputs of the statements in BODY, if RESULT-TYPE equals 'value then return the value of the From c9752352ea1ef12cb5f72b7920eee37ba8c3ffe4 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 19 Jul 2009 11:11:55 -0600 Subject: [PATCH 2/2] added task: "TODO gnuplot support for column/row names" Adding support for column/row names (as currently being implemented for R) on a language by language basis is definitely the right way to handle this hline/header issue. I am going to try to do the same for gnuplot. --- org-babel.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org-babel.org b/org-babel.org index 7af3f8c00..02e224a82 100644 --- a/org-babel.org +++ b/org-babel.org @@ -2092,7 +2092,7 @@ This could probably be added to [[file:lisp/org-babel-script.el][org-babel-scrip #+resname: implementing-ditaa [[file:blue.png][blue.png]] -*** STARTED gnuplot [2/6] +*** STARTED gnuplot [2/7] (see [[* file result types][file result types]]) #+PLOT: title:"Citas" ind:1 deps:(3) type:2d with:histograms set:"yrange [0:]" @@ -2125,6 +2125,9 @@ plot "data" using 1:2 with lines the variable names should be replaced with the path to the files **** DONE direct plotting w/o session +**** TODO gnuplot support for column/row names +This should be implemented along the lines of the [[* STARTED Column (and row) names of tables in R input/output][R-colname-support]]. + **** TODO a =file= header argument to specify a file holding the results