Introduction to R for Ecologists - UC Santa Barbara

Thank you!

Thank you to everyone who attended our live workshop!! Below you will find the original schedule along with the live coding scripts and (coming soon) video recordings of each workshop session.


April 1 - 2

9:00am - 4:00pm (Los Angeles, PDT) / 5:00pm - 12:00am (London, GMT) / 10:30pm - 5:30am (New Delhi, IST)

Please note, if your country observes Daylight Savings Hours, take care to check the course timing.

Instructors: Heili Lowman, Ana Miller-ter Kuile, Samantha Sambado, Tatum Katz, Caroline Owens

Helpers: Austen Apigo, An Bui, Bart DiFiore, Elizabeth Forbes, Tatum Katz, Maggie Klope, Caroline Owens, Gabe Runte, Georgia Titcomb, Zoe Zilz


Registration is closed at this time. If you were unable to sign up to participate but would still like to access the material, please bookmark this website - we will be posting all recordings of the workshop here for public use after the workshop has taken place.

General Information

Who: This course is aimed at graduate and undergraduate students and researchers who work with ecological data. You do not have to be affiliated with UCSB to attend this workshop!

Where: This course will take place online via Zoom. The instructors will provide instructions and information on how to join this workshop.

When: April 1 & 2, active instruction from 9-noon PST each day with afternoons reserved for participant ‘hack-y’ hours. Note: The afternoon sessions are free-form to accomodate scheduling flexibility for participants to opt-in or out of all or part of both afternoon sessions.

Requirements: Participants must have access to a computer with a Mac, Linux, or Windows operating system. In addition, please install the specific software packages listed below.

Accessibility: We are dedicated to providing a positive and accessible learning environment for all learners. Please email the instructors prior to the workshop if you require any accomodations or if there is anything we can do to help make the workshop accessible to you.

Contact: You can email or for more information.

Code of conduct

We will be abiding by a code of conduct for this workshop based on the code of R-Ladies.

Any code of conduct violations can be reported here and will result in removal of violators from the remainder of the workshop.


Please be sure to complete these surveys before and after the workshop

Pre-workshop survey

Post-workshop survey


Day 1

April 1  
Before Starting Pre-workshop survey
9:00am (PST) Before we start
10:00am BREAK
10:15am Introduction to R
11:15am BREAK
11:30am Starting with data
1:30pm Hack-y Hour(s): Import your datasets
4:00pm END

Day 2

April 2  
9:00am (PST) Data workflows
10:00am BREAK
10:15am Manipulating data
11:15am BREAK
11:30am Visualizing data
12:30pm Post-workshop survey
1:45pm Hack-y Hour(s): Manipulate and graph your data
4:00pm END

Videos from Live Coding

Day 1, Session 1: Welcome & Setup

Day 1, Session 2: Introduction to R

Day 1, Session 3: Starting with Data

Day 2, Session 1: Workflows in R

Day 2, Session 2: Manipulating Data

Day 2, Session 3: Visualizing Data

Scripts from Live Coding

Day 1, Session 2: Introduction to R

Day 1, Session 3: Starting with Data

Day 1, Hack-y Hour: Fun with Palmer Penguins Data

Day 1, Session 1: Workflows in R

Day 2, Session 2: Manipulating Data

Day 2, Session 3: Visualizing Data

Day 2, Hack-y Hour: Plotting Palmer Penguins Data


Before the workshop, please make sure you have completed the following setup steps:

Download Videoconferencing Client

If you do not already have Zoom downloaded on your computer, please make sure to do so before the workshop. Instructions can be found here for installing Zoom.

Download/Update R and RStudio

You will need a current version of R and RStudio for this workshop. You can find instructions for installing or updating these programs here.

You are only required to follow the instructions under the Install R and RStudio or Update R and RStudio sections.

(Optional) Your own dataset(s)

Please bring one or more datasets you hope to incoroprate into your own research for the afternoon ‘hack-y’ hours.

The afternoon sessions for this workshop are intended for participants to practice importing and working with datasets from their own work. These are intended to be informal “hack-y” hours in which you will have access to instructors and helpers who can help you work with your own datasets! If you do not have your own dataset(s), you can still attend these sessions and spend the time working in the datasets used in the workshop or others you bring, we find online or in R, or which instructors or helpers may be willing to share from their own work.

Learn More

At UCSB and in Santa Barbara

UCSB Library Collaboratory Workshops

R Ladies Santa Barbara

EcoDataScience (both local and virtual communities and opportunities)

Beyond UCSB

R Ladies Global

Allison Horst’s Courses and Workshops on data management, analysis, and visualization

Data Carpentries lessons

Software Carpentries lessons

Carpentries Community Lessons


R 4 Data Science (Hadley Wickham/Garret Grolemund)

CU Boulder EarthLab Course Notes

More fun with FUNctions! by An Bui

Tidy Tuesday Workshop series by Heili Lowman

Other R-based Tools

Happy Git with R for collaborating with others and future you

RMarkdown the Definitive Guide

Mastering Shiny

Ecological Statistics in R

Stat 545 (Jenny Bryan)

Allison Horst’s Courses and Workshops on data management, analysis, and visualization

Kyle Edwards’ Advanced Statistics Course Notes

Fukami Lab Statistics Course Notes