简体   繁体   中英

Knitr/Kable: Html Table Width

I have one html table with a bunch of cols. I would like to expand the table as much as I can to fit in this columns. My output and code are below. As you can see theres' a low of white space between the table. I would like to use such space.

d %>%
kable( align = c( 'l', rep( 'c', 23  )), escape = F, full_width = F ) %>%
kable_styling(bootstrap_options = c("striped", 'condensed' ), font_size = 10 )

在此处输入图像描述

Try setting the full_width option to full_width = T

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM