dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
504 stars 77 forks source link

display problem in markdown #116

Closed jt-neumann closed 3 years ago

jt-neumann commented 4 years ago

Thank you very much for providing this great package - dfSummary looks really perfect. Unfortunately I have a problem with correct display of the dfSummary output in the markdown html oder pdf file. Using "view(dfSummary" it looks perfect, but when knitting to PDF or html, the output is not rendered. I am running R 3.6.1 on a windows virtual machine.

The code is:

image
dcomtois commented 4 years ago

Hi,

You're very welcome :)

Did you follow guidelines from the Rmarkdown recommendations vignette? In particular, setting knitr option results = 'asis' is essential (see toward the end of document). There are a few additional tips for pdf's in the vignette.

dcomtois commented 3 years ago

Closing for now. Let me know if problem persists. Thx.

PS: Try using "grid" instead of "multiline" if the only problem is with graphs.