79674290

Date: 2025-06-21 08:57:53
Score: 0.5
Natty:
Report link

Set the line width before rendering

system("Rscript -e \"require(rmarkdown); options('width'=100); rmarkdown::render('test_rmarkdown.Rmd', 'html_document')\"")

There's nothing to blame. knitr is doing a nice thing and avoiding overriding width on its own.

Perhaps the blame should be on the default value of width in R. It is 72.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: asdofindia