[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] formatting org-babel output
From: |
Jay Kerns |
Subject: |
Re: [O] formatting org-babel output |
Date: |
Wed, 22 May 2013 09:14:18 -0400 |
Hi Joe,
On Wed, May 22, 2013 at 7:18 AM, Joe Bogner <address@hidden> 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