From 5833fbd358e35ed7e29260940f811ce9c017ac79 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 24 Feb 2010 15:51:00 -0500 Subject: [PATCH] babel: Make colnames header arg expect use "yes" for true. --- contrib/babel/lisp/langs/org-babel-R.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/babel/lisp/langs/org-babel-R.el b/contrib/babel/lisp/langs/org-babel-R.el index 1fe282625..67d0f41e3 100644 --- a/contrib/babel/lisp/langs/org-babel-R.el +++ b/contrib/babel/lisp/langs/org-babel-R.el @@ -44,7 +44,8 @@ called by `org-babel-execute-src-block'." (result-type (fourth processed-params)) (session (org-babel-R-initiate-session (first processed-params))) (vars (second processed-params)) - (column-names-p (cdr (assoc :colnames params))) + (column-names-p (and (cdr (assoc :colnames params)) + (string= "yes" (cdr (assoc :colnames params))))) (out-file (cdr (assoc :file params))) (augmented-body (concat