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.
The best I came up with is to use a TBLFM line at the bottom of my
results table us
Hi Joe,
On Wed, May 22, 2013 at 7:18 AM, Joe Bogner 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
Joe Bogner writes:
> 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.
>
> The best I came up with is to use a TBLFM line at t
Eric - That is perfect. It's exactly what I was looking for. Thank you
for very much!
Jay - format is a good option too.I also found the scales packages
> scales::comma(scales::dollar(5))
[1] "$55,555"
In the end, the org-mode post solution feels more automatic and in the
right layer - since