Re: [O] Bug: Babel :var order affects :colnames [9.2 (9.2-41-g010a35-elpaplus @/home/dk/.emacs.d/elpa/org-plus-contrib-20190122/)]
Aloha all, Answering myself. This bug is known and was discussed several years ago: From: Myles English Subject: Re: [O] babel R: should/does order of parameters matter? Date: Tue, 29 Mar 2011 16:57:37 +0100 Apparently, ob-R wants tables to be passed to parameters that are early in the parameter list. Also, ob-R expects all the cells in a table to be non-empty. An empty table cell raises Cain. Argh. All the best, Tom
[O] Bug: Babel :var order affects :colnames [9.2 (9.2-41-g010a35-elpaplus @ /home/dk/.emacs.d/elpa/org-plus-contrib-20190122/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. I expect =colnames-bug-bad= to parse =test-table= like =colnames-bug-good=. The only difference is the order of :var assignments. ECM #+name: colnames-bug-bad #+header: :var str="Foo" :var tab=test-table #+header: :colnames yes #+BEGIN_SRC R data.frame(tab) #+END_SRC #+RESULTS: colnames-bug-bad | cell.1 | cell.2 | |+| #+name: colnames-bug-good #+header: :var tab=test-table :var str="Foo" #+header: :colnames yes #+BEGIN_SRC R data.frame(tab) #+END_SRC #+RESULTS: colnames-bug-good | head.1 | head.2 | |+| | cell.1 | cell.2 | #+name: test-table | head.1 | head.2 | |+| | cell.1 | cell.2 | Let me know if you have questions. All the best, Tom Emacs : GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-05-28 Package: Org mode version 9.2 (9.2-41-g010a35-elpaplus @ /home/dk/.emacs.d/elpa/org-plus-contrib-20190122/) -- Thomas S. Dye http://tsdye.online/tsdye