emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [babel, bug?] colnames with a list of columns does not work


From: Sebastien Vauban
Subject: [O] [babel, bug?] colnames with a list of columns does not work
Date: Thu, 22 Jan 2015 11:56:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt)

Hello,

The following ECM shows it all:

#+begin_src R :rownames yes :colnames '(Lg Nb)
  data(iris)
  head(table(iris$Petal.Length, iris$Species)[, "setosa"])
#+end_src

returns:

  |     |  x |
  |-----+----|
  |   1 |  1 |
  | 1.1 |  1 |
  | 1.2 |  2 |
  | 1.3 |  7 |
  | 1.4 | 13 |
  | 1.5 | 13 |

while I was expecting:

  |  Lg | Nb |
  |-----+----|
  |   1 |  1 |
  | 1.1 |  1 |
  | 1.2 |  2 |
  | 1.3 |  7 |
  | 1.4 | 13 |
  | 1.5 | 13 |

Am I missing something?

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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