MTH-161D | Spring 2025 | University of Portland
January 22, 2025
Basic Parts of R Studio
Where does your saved files automatically go?
The Working Directory
What is RMarkdown?
Why use RMarkdown?
.Rmd
and .html
formats. This ensures that your work is detailed, well-organized,
and clearly presented.What does RMarkdown look like in R Studio?
RMarkdown Viewed in R Studio
RMarkdown Basic Parts 1, 2, & 3
---
”. This header is
required and the information that it contains can affect the entire
output.RMarkdown Basic Parts 4 & 5
```
”.Creating an R Code Chunk
Running Code Chunks
\(\star\) Understanding this difference is key for fixing majority of errors and undesired outputs.
Why learn any of these things?
In-class activities and worksheets must be submitted either
physically or through Moodle. Depending on the lesson, submission format
will be in physical form, .pdf
, .Rmd
, or
.html
.
All homework assignments are in RMarkdown and both .Rmd
and .html
files must be submitted through Moodle.
Assessments are “quizzes” that will be conducted in class, and must be submitted physically.
\(\star\) Your created R Studio space named Calculator [first name] [first letter of last name] in Posit Cloud will be used as a calculator for assessments and some worksheets. Homework assignments will have a special R Studio space.
How can I be successful in this class?
\(\star\) Help hours –walk-in and by appointment– exists!
.Rmd
file by replacing [name]
with your name
using the format [First name][Last initial]
. Then, open the
.Rmd
file.