[1] 1990
Lab 0
In this lecture, we will…
The R Foundation, CC BY-SA 4.0, via Wikimedia Commons
RStudio, Inc., Public domain, via Wikimedia Commons
R is a computer language.
R is an environment for statistical computing and graphics.
R is a free open source software
Quarto is…
Important
If you are using Mac,
Tip
You can create your own Quarto document by clicking File > New File > Quarto Document
Let’s try to create our first Quarto document!
WARNING! I use Windows, you may use Mac or Linux or online version of R. Thus, your screen might look a bit different than mine.

How to Create a New Quarto Document
You can save your own Quarto document by clicking
File > SaveAfter that, YOU NEED TO FIND YOUR STAT 218 FOLDER TO SAVE YOUR FILE.

do() is a function;
something is the argument of the function.
do() is a function;
something is the first argument of the function;
colorful is the second argument of the function.
R ignores comments if you put # like above
I love Dr. Dogucu’s teaching strategy to teach students the basics of coding. This is how she explains the idea of coding. I am using some of her strategies during this session.
The Quarto document that we created is a source file.
By rendering this, will have a different output file (e.g., PDF)
If you see this PDF file, you are all set!
Paste this code to your Console
Please upload this PDF document to our Canvas page as LAB Assignment 1 (Individual)
Begining from this Friday, we will start working in groups.
Now, you can close your RStudio.
Everything you did is in your STAT 218 folder!