Output formats (HTML, PDF, Word)
📖 Scenario: You work as a data analyst and need to share your analysis results with your team. Different team members prefer different formats: some want HTML reports to view in browsers, others want PDF files for printing, and some want Word documents for editing.
🎯 Goal: Learn how to create output files in HTML, PDF, and Word formats using R. You will write code to generate a simple report in each format.
📋 What You'll Learn
Create a simple data frame with sample data
Set up output file names for HTML, PDF, and Word
Use R Markdown to generate reports in each format
Print confirmation messages after each report is created
💡 Why This Matters
🌍 Real World
Creating reports in multiple formats helps share data analysis results with different audiences who prefer different file types.
💼 Career
Data analysts and scientists often need to produce reports in HTML, PDF, and Word formats for presentations, documentation, and collaboration.
Progress0 / 4 steps