I find several threads on to change the output columns in knitr using
```{r set-options, echo=FALSE, cache=FALSE}
options(width = SOME-REALLY-BIG-VALUE)
```
in this post How to adjust the output width of RStudio Markdown output (to HTML)
This worked fine if my table is narrower than the page width. However, when my table has many columns, each line is broken and displayed like in txt file. Here is the picture to illustrate what I mean.
How to adjust to make the table fill the whole width of the page and break it into parts if the page is not wide enough? Thank you.