Re: Number format for table results outut from R data.frame/tibble

2021-08-21 Thread Jeremie Juste
Hello, John For my workflow, I generally use the minimum from xtable and do the formatting in org-mode using the :post parameter to call another lisp code block. That said, as Chuck said, you can go a long way with xtable. In my attic, I found the following code where I take only the core

Re: Number format for table results outut from R data.frame/tibble

2021-08-21 Thread Berry, Charles
> On Aug 21, 2021, at 9:58 AM, John Hendy wrote: > > > Interesting, and thanks for taking a look. I don't think I specified > sufficiently that I'm actually aiming for latex/pdf output and > therefore want the org table. John, If you want a latex export, you should use one of the many R

Re: Number format for table results outut from R data.frame/tibble

2021-08-21 Thread John Hendy
On Fri, Aug 6, 2021 at 2:30 PM Berry, Charles wrote: > > John, > > > On Aug 6, 2021, at 8:38 AM, John Hendy wrote: > > > > Greetings, > > > > I'm wondering how to align the results from the R buffer (which I > > like) vs. the results printed by Org-mode for table results. Here's a > > toy

Re: Number format for table results outut from R data.frame/tibble

2021-08-06 Thread Berry, Charles
John, > On Aug 6, 2021, at 8:38 AM, John Hendy wrote: > > Greetings, > > I'm wondering how to align the results from the R buffer (which I > like) vs. the results printed by Org-mode for table results. Here's a > toy example: > `tbl_df' objects come with their own print/show method. And it

Number format for table results outut from R data.frame/tibble

2021-08-06 Thread John Hendy
Greetings, I'm wondering how to align the results from the R buffer (which I like) vs. the results printed by Org-mode for table results. Here's a toy example: #+begin_src R :session foo :output results :type table :results value library(tibble) tmp <- tibble(x=1:5, y=x/pi) tmp #+end_src In