From: email@example.com (Thomas S. Dye)
Subject: Re: org-babel's treatment of NA in R source block
Date: Tue, 02 Oct 2012 21:40:41 -1000 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
In-Reply-To: <20121003071620.GA11903@panahar> (Vikas Rawal's message of "Wed, 3 Oct 2012 16:16:20 +0900")
Vikas Rawal <email@example.com> writes:
>> > I would like the NAs to be replaced by blank cells or by a less
>> > obstrusive character like a ".". Is there a simple way I could change
>> > this behaviour?
>> > Vikas
>> Aloha Vikas,
>> One route might be the ascii package in R, which exports objects to
>> several markup languages, including Org. The ascii() argument na.print
>> is a character string that specifies how NA should appear in the output.
> Thanks. That seems very good.
> But if the code block is directly producing org markup, what should I
> tell my parent org file to expect?
> My source block began like this:
> #+BEGIN_SRC R :results value :colnames yes :hline yes
> I would expect this to change now. How do I say that the result is
> already formatted for org?
Does ":results value raw" do what you want? Another possibility is
":results value org", which changed behavior recently.
All the best,
Thomas S. Dye
prev parent reply other threads:[~2012-10-03 7:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 22:54 org-babel's treatment of NA in R source block Vikas Rawal
2012-10-01 23:10 ` Thomas S. Dye
2012-10-03 7:16 ` Vikas Rawal
2012-10-03 7:40 ` Thomas S. Dye [this message]
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).