Hi, Am I mistaken or is it not possible to combine :colnames and :post? Here's an example of what I have got in mind:
--8<---------------cut here---------------start------------->8--- #+NAME: identity #+BEGIN_SRC emacs-lisp :var x="x" x #+END_SRC #+BEGIN_SRC R :colnames yes :post identity(*this*) setNames(data.frame(1:2), "foo") #+END_SRC #+RESULTS: | 1 | | 2 | Expected result: | foo | |-----| | 1 | | 2 | --8<---------------cut here---------------end--------------->8--- Thanks, Rasmus -- However beautiful the theory, you should occasionally look at the evidence