r-bootcamp-fall-2022

UC Berkeley R Bootcamp, August 2022

This is the website for the tenth annual R bootcamp at Berkeley. The bootcamp will be an intensive two-day introduction to R using RStudio, held all day on Saturday August 20 and Sunday August 21, 2022

See below for information on:

Sponsored by: UC Berkeley Statistics and the Statewide Database at Berkeley Law

Overview

The bootcamp will be an intensive two-day introduction to R using RStudio. Topics will include:

Prerequisites

The workshop doesn’t assume any specific R knowledge and starts from the very basics, but it goes at a fairly quick pace (hence bootcamp). This is appropriate for:

In prior years, we’ve had two tracks, with one track serving to provide a slower pace for those with no experience with R or other programming languages. Unfortunately, this year we do not have staffing to support two tracks.

If you have no R experience and little programming experience in other languages, you are likely to find the pace too quick. Therefore we recommend that you attend one of the D-Lab’s R Fundamentals workshops. In particular there will be a workshop the week of August 15 (the week before classes start) as well as workshops later in the semester.

Registration

Before registering, please check the prerequisite information.

To attend you must submit a registration request. Submitting the request does not guarantee as spot. Priority will be given to Berkeley grad students, postdocs, staff, and faculty, followed by those affiliated with another university or government agency, then Berkeley undergrads, and finally participants from for-profit organizations. Undergraduates interested in R should consider taking Statistics 133 or Statistics 132.

NOTE: registrations will only be processed periodically, so there may be a delay in hearing back from us about whether you are registered or on the waitlist.

Cancellation

If you have registered and realize you cannot attend, PLEASE cancel your registration so that we can let people on the wait-list attend. If you don’t cancel, you’ll deprive someone else of a spot, as we always have a wait-list for this event.

Logistics - when, where, how, and what

Physical location: UC Berkeley Law School, Room 105. Enter at the southwest door (after going up the outdoor stairs) and turn left or enter at the northwest door (after going up the outdoor stairs) and turn right. You might be able to enter through the center doors on the west side, but those go into the building a floor below the room for the bootcamp.

Time:

We’ll start formally on Saturday morning at 8:30 am, but please plan to get here by 8:15 so you can sign in and get settled. And if you need help with any software installation please come at 8 am.

Note that street parking in Berkeley near campus on Saturdays is generally subject to two hour limits.

You will probably want to make sure you can use the campus WiFi (EduRoam) in advance of the event. But if you need wireless access as a guest (i.e., you don’t have a CalNet ID), connect to ‘CalVisitor’.

Schedule

The schedule for the bootcamp including links to all the modules.

Health information

Vaccination requirements will follow campus requirements, so essentially everyone should be vaccinated. In particular, those of you arriving from another country should carefully examine these requirements, which will determine if you can attend the bootcamp in person.

Preparing for the course - course content

WARNING: This material is under construction, with various (but not huge) edits to the content expected. We’ll be making edits up until a few days before the event.

Course content is available through GitHub. Please download a copy of the course materials before arriving at the bootcamp using one of the two options below (if you’re familiar with Git you’ll also know how to do this by cloning the repository):

  1. Via GitHub in RStudio:
    • Open RStudio.
    • Go to “File→New Project” and select “Version Control” and “Git”.
    • Enter ‘https://github.com/berkeley-scf/r-bootcamp-fall-2022’ as the “Repository URL” and click “Create Project” (you can choose the directory in which to place the project with the “Create project as subdirectory of” option).
    • It should create a “r-bootcamp-fall-2022” directory with all of the materials within whichever directory you chose.
    • To open one of the R Markdown files, go to the lower right panel, click on ‘Files’, then ‘r-bootcamp-fall-2022’, then ‘modules’ and finally click on the .Rmd file of interest. It will open in the upper left panel.
  2. Alternatively, simply download a zip file containing all the content at https://github.com/berkeley-scf/r-bootcamp-fall-2022/archive/main.zip.

We recommend that you take a look at the schedule for the bootcamp and the background module in advance to get a sense for what we’ll cover. And for those of you with no experience with R, it will help with your learning curve if you play around some with R using the material in Module 1 beforehand. Alternatively, if you have absolutely no experience with R or similar languages (e.g., Python, MATLAB), you might check out Swirl.

For the presentation materials (including embedded demo code), see the html files in modules. The main files have individual pages/slides, while the _onepage_ html files are one continuous page per module. To run the demo code, open the .Rmd file for the module in RStudio. You can then run individual chunks of code.

Preparing for the course - software installation

Please come with a fully-charged laptop (Mac, Windows, or Linux are all ok) with R, RStudio, and Git installed. RStudio and Git are optional but highly recommended.

To install the software, it’s best if you can install software directly on your laptop.

Alternatively, IF INSTALLING ON YOUR LAPTOP FAILS, the following is an alternative way to access R and RStudio through a browser:

Note that our ability to troubleshoot R or RStudio installed directly on your machine is limited (particularly in Windows). We’ll try to help, but if we run into roadblocks, we’ll direct you to the browser option.

Course Discussion / Q&A

Please ask questions both during the presentations and during the breakout sessions.

Logistical Questions

If you need to contact us directly with an administrative question, you can email r-bootcamp@lists.berkeley.edu. But for general questions that others might benefit from, please use the online discussion forum.