| Monday | Tuesday | Wednesday | Thursday | Friday | 
|---|---|---|---|---|
| Lecture 9-10am | Lecture 9-10am | Lecture 9-10am | ||
| Lab 3pm or 4pm | ||||
| Lab due 11:59pm | HW due 11:59pm | 
I’m a Postdoc Fellow at UT Austin
I did my PhD in Monash University in Australia
I work on visualization, statistical computing, and thinking about “what’s the best way to do data analysis”.
I climb 🧗♂️


Luke:

Daniel:
End goal: Become comfortable coding in R for both exploratory (week 1-8) and confirmatory analysis (week 9-14), and develop enough breadth of knowledge to know where to find the tools and information you need.
Specifically, you will learn:
Announcements in Canvas
Ask questions after lecture (I usually reserve some time)
Office hours: Ask questions / Listen to others/ Review feedback on assignments
Even if you installed R/RStudio previously, it’s important to have the latest version
R.versionTools > Global Options (or Press Command + ,) to pull out the options panelGeneral speaking, you can navigate the course without knowing anything about Git and GitHub, but you will be able to see and know many things you would otherwise won’t if you do know a little bit.
If you know how to browse GitHub, you can see the source code of the packages we use in the course, and you can also see the source code of the lecture slides.
Happy Git with R: https://happygitwithr.com/
pkgdown site of a packageGo to https://github.com/tidyverse/dplyr and click the package link:
The pkgdown site contains the exact same information as ?PKG::FUN() but the HTML version is much better formatted.
From the pkgdown site:

From ?dplyr::summarise:

The pkgdown sites also have more detailed vignettes (aka articles) about the package:
Ask anyone you know who works with data or software to write down their code on paper in one go…
I want to add emoji in the lecture slides and I know there is the emo package. The syntax is emo::ji("emoji_name"). Type in the console:
Error in loadNamespace(x) : there is no package called ‘emo’
Okay… I don’t have the package in my lastest R installation, let’s install it…
Warning in install.packages : package ‘emo’ is not available for this version of R A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Aha - it’s GitHub package (I know it is written by Hadley Wickham), let me find it:
and find this:
Scroll down to find this line, and run it in your console:
If I want to use functions from a pacakge multiple times, it is easier to load the package first: library(pkg)
No one can write the code in one go, there are lots of trials and errors. Along the way, we use a lot of helps, including Google!
Btw you just happen to know how to
install a package from CRAN: install.packages() and from GitHub: devtools::install_github()
load a package: library()
Install R and RStudio if you have not yet
Change the appearance of your RStudio IDE:
Go to Tools > Global Options (or Press Command + ,) to pull out the options panel
Select the Pane Layout tab to move around the panes
Select the Appearance tab and find your favorite Editor font and theme
Install and load the tidyverse package from CRAN
install.packages("tidyverse")library(tidyverse)(advance) Install and load the emo package from GitHub
devtools first: install.packages("devtools")emo package from GitHub: devtools::install_github("hadley/emo")library(emo)emo::ji("heart")