statar icon indicating copy to clipboard operation
statar copied to clipboard

sum_up and rmarkdown

Open bjornerstedt opened this issue 5 years ago • 2 comments
trafficstars

The sum_up function almost works with knitr::kable, when rendering html or word documents in rmarkdown. It also prints the text table, however. This code produces a better table than the fixed font output:

iris %>% sum_up %>% kable

Rendering LaTeX does not work at all.

bjornerstedt avatar Oct 15 '20 17:10 bjornerstedt

What is the issue exactly?

On Thu, Oct 15, 2020 at 10:43 AM Jonas Björnerstedt < [email protected]> wrote:

The sum_up function almost works with knitr::kable, when rendering html or word documents in rmarkdown. It also prints the text table, however. This code produces a better table than the fixed font output:

iris %>% sum_up %>% kable

Rendering LaTeX does not work at all.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/matthieugomez/statar/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPPPXO7XSUUBBYUCGFUVUTSK4YDHANCNFSM4SSJQKFA .

matthieugomez avatar Oct 15 '20 17:10 matthieugomez

The issue is that knitr renders both a fixed font text table and a markdown table, when knitting to html or word.

bjornerstedt avatar Oct 15 '20 18:10 bjornerstedt