我正在使用RStudio将我的R markdown文档编织成一个word文件.
我在文档的开头有这个块:
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warnings=FALSE, messages=FALSE, results="hide")
```
Run Code Online (Sandbox Code Playgroud)
但是,在直方图之后我仍然在我的文档中保留这些消息:
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
## Warning: Removed 686 rows containing non-finite values (stat_bin).
Run Code Online (Sandbox Code Playgroud)
我怎么能让它们消失?