How to suppress warnings globally in an R Script

702    Asked by ajithJayaraman in SQL Server , Asked on Jun 16, 2021

I have a long R script that throws some warnings, which I can ignore. I could use

suppressWarnings(expr)

for single statements. But how can I suppress warnings in R globally? Is there an option for this?

Answered by Alison Kelly

Your Answer

Interviews

Parent Categories