This repository contains the materials for D-Lab's 90-minute R Workshop for Haas.
This is a lightweight module aimed to provide a brief introduction to R. Topics include:
- Introduction to R;
- Navigating Jupyter Notebooks;
- Variable assignment;
- Data structures;
- Working with data frames in R.
No prior experience with R is required.
We will use Jupyter on the Haas JupyterHub to go through the workshop materials.
We strongly recommend using either the D-Lab or Haas DataHub to run the materials for these lessons. You can access either DataHub by clicking one of the two buttons:
Some users may have to click the link twice if the materials do not load initially.
The DataHub downloads this repository, along with any necessary packages, and allows you to run the materials in an instance on UC Berkeley's servers. No installation is needed from your end - you only need an internet browser and a CalNet ID to log in. By using the DataHub, you can save your work and come back to it at any time.
Check out the following online resources to learn more about R:
- Software Carpentry
- Quick-R
- UCLA idre
- R-bloggers
- R Markdown: The Definitive Guide
- The tidyverse style guide
- Quick Intro to Parallel Computing in R
as well as the following books:
- Bookdown Featured Books
- Kearns GJ. 2010. Introduction to Probability and Statistics in R
- Wickham H. 2014. Advanced R
- R for Data Science
- Lander J. 2013. R for everyone: Advanced analytics and graphics
- Matloff N. 2011. The art of R programming: A tour of statistical software design
- Brunsdon C, Comber L. 2015. An Introduction to R for Spatial Analysis and Mapping
- James G, Witten D, Hastie T, Tibshirani R. 2013. An Introduction to Statistical Learning: With Applications in R, 7th edition
D-Lab works with Berkeley faculty, research staff, and students to advance data-intensive social science and humanities research. Our goal at D-Lab is to provide practical training, staff support, resources, and space to enable you to use R for your own research applications. Our services cater to all skill levels, and no programming, statistical, or computer science backgrounds are necessary. We offer these services in the form of workshops such as R Fundamentals, one-to-one consulting, and working groups that cover a variety of research topics, digital tools, and programming languages.
Visit the D-Lab homepage to learn more about us. View our calendar for upcoming events, and also learn about how to utilize our consulting and data services.
Here are other R workshops offered by the D-Lab:
- R Data Wrangling
- R Graphics with ggplot2
- R Functional Programming
- Geospatial Fundamentals in R with sf
- Census Data in R