Reputation: 5819
My R Markdown chunk header is as follows:
```{r fluid_flowrate, echo=FALSE, message=FALSE, fig.height = 4, fig.width = 10}
# followed by my ggplot2 code
```
yet I knit to HTML and I get the proper plot, accompanied by this warning, printed twice:
## Warning: Removed 1 rows containing missing values (geom_point).
## Warning: Removed 1 rows containing missing values (geom_point).
I thought message=FALSE
forced warnings to disappear. Why are they appearing?
Upvotes: 0
Views: 933
Reputation: 118
If you add the following to the chunk options
warning=FALSE
it will prevents warnings that are generated by code from appearing in the finished
Upvotes: 3