emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: [ob-R] combine :post and :colnames
Date: Sun, 25 Jan 2015 21:38:04 +0100	[thread overview]
Message-ID: <87egqiy4sz.fsf@gmx.us> (raw)

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

             reply	other threads:[~2015-01-25 20:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 20:38 Rasmus [this message]
2015-01-25 21:26 ` [ob-R] combine :post and :colnames Aaron Ecay
2015-01-25 21:56   ` Rasmus
2015-01-26  8:08     ` Aaron Ecay
2015-01-26 17:31       ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egqiy4sz.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).