emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-babel :colnames yes


From: ian martins
Subject: org-babel :colnames yes
Date: Thu, 28 May 2020 07:48:00 -0400

Hello, I'm trying to figure out how to tell org that the first row of a src block result is a table header.

from readthedocs it looks like ":colnames yes" should do this, but I haven't been able to get it to work, and the code doesn't appear to want that to happen. maybe that is special handling for R.

#+BEGIN_SRC elisp :colnames yes
  '((one two) (1 3) (1 6))
#+END_SRC

I'm expecting an hline in the output but do not find one.

I know ":colnames '(one two)" works, but I don't know the header value until I've generated the table.

-Ian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]