emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [ob-R] combine :post and :colnames
@ 2015-01-25 20:38 Rasmus
  2015-01-25 21:26 ` Aaron Ecay
  0 siblings, 1 reply; 5+ messages in thread
From: Rasmus @ 2015-01-25 20:38 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2015-01-26 17:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 20:38 [ob-R] combine :post and :colnames Rasmus
2015-01-25 21:26 ` Aaron Ecay
2015-01-25 21:56   ` Rasmus
2015-01-26  8:08     ` Aaron Ecay
2015-01-26 17:31       ` Rasmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).