
Introduction to R, RStudio, and Quarto
Zhaoxia Yu


R is much more than a programming language.
Today we’ll use: R + RStudio + Quarto
To use R effectively, we need three pieces of software:
R: the programming language. The engine.
RStudio (recommended). The dashboard.
Quarto (optional but highly recommended). The publishing system.
Today’s workflow: R → RStudio → Quarto
Installation order: R → RStudio → Quarto

RStudio is an integrated development environment (IDE) for R.
Easy to use: write, run, and debug R code in one place.
Organized workspace: editor, console, environment, plots, files, and help.
Productivity tools: syntax highlighting, code completion, project management, and package management.
Works seamlessly with Quarto to create reports, presentations, and websites.
An integrated development environment (IDE) for writing, running, and debugging R code.
User-friendly interface with separate panes for the script editor, console, environment, plots, and files.
Improves productivity by providing syntax highlighting, code completion, project management, and package management.
Works seamlessly with R and Quarto to create reproducible reports, presentations, and websites.
Free, open source, and running on Windows, macOS, and Linux.
RStudio is more than an editor. It integrates with many tools
Today we’ll focus on Quarto, which allows us to combine text, code, figures, and results into a single document.
Writing code is only part of data science. We also need to communicate our work. Quarto allows us to combine
into one reproducible document.
Next, let’s learn Quarto.

Quarto is an open-source scientific and technical publishing system.
It combines text, code, figures, and results in a single document.
It works with multiple programming languages, including R, Python, and Julia.
Quarto is a standalone application that can be used with or without R.
We will use Quarto together with R and RStudio.
Reproducible research: analysis and results are generated from the same source file.
Easy to update: changing the data automatically updates tables and figures.
Professional output: produce reports, presentations, websites, and books.
Works seamlessly with RStudio.
Quarto can generate
These lecture slides were created with Quarto!
RStudio makes Quarto easy to use.
.qmd file.Today we introduced three essential tools:
Together they form a modern workflow for data science.
<!–
