I am using knitr and would like to suppress any kind of verbose output when knitting a file. I know that I can remove the progress bar by
我正在使用knitr,并希望在编织文件时抑制任何类型的详细输出。我知道我可以删除进度条
opts_knit$set(progress=FALSE)
Yet, I would like to suppress even the info about the processing file and the output file. Is this somehow possible?
然而,我想压制有关处理文件和输出文件的信息。这有点可能吗?
1 个解决方案
#1
9
I just added a new argument named quiet
in knit()
the other day, which will suppress the messages about filenames. You can install the latest development version, or wait for knitr
v1.2 which is about 10 days away.
我刚刚在knit()中添加了一个名为quiet的新参数,这将禁止有关文件名的消息。您可以安装最新的开发版本,或等待大约10天后的knitr v1.2。
library(knitr)
knit(..., quiet = TRUE)
#1
9
I just added a new argument named quiet
in knit()
the other day, which will suppress the messages about filenames. You can install the latest development version, or wait for knitr
v1.2 which is about 10 days away.
我刚刚在knit()中添加了一个名为quiet的新参数,这将禁止有关文件名的消息。您可以安装最新的开发版本,或等待大约10天后的knitr v1.2。
library(knitr)
knit(..., quiet = TRUE)