Suppressing startup messages
When packages start, they may print messages to the screen. This is useful for interactive coding, but not that great when generating reports, e.g. knitr.
This exercise is part of the course
Defensive R Programming
Exercise instructions
- Suppress the startup messages when loading the dplyr package. The function you need starts with
suppress
.
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
___(library("dplyr"))