带有 dlookr 包的 R Notebook

R Notebook with dlookr package

我尝试使用 dlookr 包创建数据摘要。在正常 R 中它可以工作,但在 R notebook 中它有这样的通知:

Error: pandoc document conversion failed with error 251

有人知道为什么吗?

Pandoc 是 R Studio 用来创建 html 文件的程序。您可能需要下载 (https://github.com/jgm/pandoc/releases/tag/2.4) and install (instructions here: https://pandoc.org/installing.html) the pandoc program on your computer. I would also recommend downloading and install MiKTeX (mentioned on the pandoc install page mentioned above; see here: https://miktex.org/),这将允许您创建 pdf 文件。