From: Jay Kerns <gjkernsysu@gmail.com>
To: Joe Bogner <joebogner@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: formatting org-babel output
Date: Wed, 22 May 2013 09:14:18 -0400 [thread overview]
Message-ID: <CAFiLVrYQqEVjV37Ccg1R8UwC_sVpnhQyeqwDuXn4BkbMBi917A@mail.gmail.com> (raw)
In-Reply-To: <CAEtzV1ZFbMjg3fgYcUMYVUQ2tV5dSiNcE-5yF7w_GYvs3saPfQ@mail.gmail.com>
Hi Joe,
On Wed, May 22, 2013 at 7:18 AM, Joe Bogner <joebogner@gmail.com> wrote:
> I am using org-mode and babel with R for reproducible research. I
> would like certain numbers in the output tables to be formatted for
> easier reading - such as eliminating decimals and adding commas for
> readability.
>
[snip]
Have you considered doing your formatting in R before it ever gets to
the org table? The format function is very powerful. For instance,
> format(163328361.2423, nsmall = 2, big.mark =",")
[1] "163,328,361.24"
Just an idea.
--
Jay
prev parent reply other threads:[~2013-05-22 13:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 11:18 formatting org-babel output Joe Bogner
2013-05-22 13:12 ` Eric Schulte
2013-05-22 16:27 ` Joe Bogner
2013-05-22 13:14 ` Jay Kerns [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFiLVrYQqEVjV37Ccg1R8UwC_sVpnhQyeqwDuXn4BkbMBi917A@mail.gmail.com \
--to=gjkernsysu@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=joebogner@gmail.com \
/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 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.