options

Table of Contents

Suppress warnings howto

options(warn = -1)
expr
options(warn = 0)

or just:

suppressWarnings(expr)

Note: For R Markdown, the options approach won't work. Use

```{r, warning=FALSE}
```