1. Learn
  2. /
  3. Courses
  4. /
  5. Reporting with R Markdown

Connected

Exercise

Excluding messages

In the past, you haven't encountered messages in the report because the include option has been set to FALSE in the data chunk to prevent the code or the results from the code from appearing in the report. In this exercise, you'll use the message option to prevent messages from appearing in the report, while still including the code in the report.

Instructions

100 XP
  • Remove the include option from the data chunk, which prevents the code and results from appearing in the report.
  • Add to the data chunk to exclude messages from this chunk from the report.