I have knitr to generate the output of my statistical analysis along with the numbers. My analysis has a number of levels marked with headings. To get a good html page with a table of contents aside, I use the "pander" (pandoc R package) to convert my .md file to html because knitr does not insert the table of contents in the html file.
Problem: when I use the pander, it creates a page with a fixed width (rather narrow), where my large numbers need to be scrolled left and right. Is there a way to change the page width .md or a direct pointer to display a page with automatic width settings (setting to any screen width).
I spent time searching for a solution: either you have knitr, and insert TOC, insert the width parameter into the r-code
```{r set-options, echo=FALSE, cache=FALSE} options(width=600) opts_chunk$set(comment = "", warning = FALSE, message = FALSE, echo = TRUE, tidy = FALSE, size="small") ```
or edit the pader output options, but no luck.
If anyone has a solution to the problem, I would really appreciate it.
user16890
source share