all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [babel, bug?] colnames with a list of columns does not work
@ 2015-01-22 10:56 Sebastien Vauban
  2015-01-22 15:37 ` Thomas S. Dye
  2015-01-22 16:47 ` Rainer M Krug
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastien Vauban @ 2015-01-22 10:56 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-23 20:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22 10:56 [babel, bug?] colnames with a list of columns does not work Sebastien Vauban
2015-01-22 15:37 ` Thomas S. Dye
2015-01-22 16:47 ` Rainer M Krug
2015-01-23 10:35   ` Sebastien Vauban
2015-01-23 11:13     ` Rainer M Krug
2015-01-23 19:49     ` Aaron Ecay
2015-01-23 20:00     ` Thomas S. Dye

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.