Online
Oct 14-Nov 4, 2026
09:30-13:00
Instructors: Justin C Yang, Naomi Launders, Stephanie Wu, Yunsoo Kim
This four-session online workshop series is free to attend and is for PhD students, postdoctoral researchers, and other research staff in the UCL Division of Psychiatry.
It is a self-organised Carpentries Mix & Match workshop using selected episodes from the official Software Carpentry R for Reproducible Scientific Analysis and Plotting and Programming in Python lessons. Teaching will use live coding and practical exercises based on the Gapminder data.
Both strands begin at introductory level. Learners are strongly encouraged to attend all four sessions, as concepts and good practices are reinforced across the series. If this is not possible, learners may attend either the R or Python strand; anyone joining only the second session of a strand should already have equivalent foundational experience.
The Carpentries project comprises the Data Carpentry, High-Performance Computing Carpentry, Library Carpentry, and Software Carpentry communities of Instructors, Trainers, Maintainers, helpers, and supporters who share a mission to teach foundational computational and data science skills to researchers.
This workshop uses official Software Carpentry lesson material in a self-organised Mix & Match format, selecting the R and Python episodes listed in the schedule below.
Want to learn more and stay engaged with The Carpentries?
Carpentries Clippings is The Carpentries' monthly newsletter, where community news, community job postings, and more are shared.
Everyone who participates in Carpentries activities is required to conform to the Code of Conduct, which also outlines how to report an incident if needed.
The workshop will be delivered online via Microsoft Teams. Joining instructions will be sent to registered participants before the workshop.
For learners who would prefer to attend from Maple House, rooms have been reserved as optional workspace: Room 434 on 14 October, 21 October, and 4 November, and Room 412 on 28 October. These rooms will be unstaffed, with all teaching and support provided through Teams. They are simply available as a convenient place to join the online workshop from the office.
Registration for this workshop has now closed.
Registration ClosedUse our shared UCL collaborative notes for questions, links, code snippets, and notes during the workshop.
Open Collaborative NotesPlease complete the Carpentries pre-workshop survey before your first session.
Pre-Workshop SurveyPlease complete the Carpentries post-workshop survey after your final session.
Post-Workshop Survey| Time | Topic | Instructor |
|---|---|---|
| Before starting | Pre-workshop survey | |
| 09:30 | Introduction to R and RStudio; Project Management With RStudio; Seeking Help | Justin |
| 10:00 | Data Structures | Justin |
| 10:45 | Break (10 minutes) | |
| 10:55 | Exploring Data Frames and Subsetting Data | Justin |
| 11:35 | Control Flow | Justin |
| 12:00 | Break (5 minutes) | |
| 12:05 | Vectorization | Naomi |
| 12:25 | Functions Explained | Naomi |
| 12:55 | Questions and recap | Justin |
| 13:00 | Finish |
| Time | Topic | Instructor |
|---|---|---|
| 09:30 | Creating Publication-Quality Graphics with ggplot2 | Stephanie |
| 10:35 | Break (10 minutes) | |
| 10:45 | Data Frame Manipulation with dplyr | Justin |
| 11:35 | Break (5 minutes) | |
| 11:40 | Data Frame Manipulation with tidyr | Justin |
| 12:20 | Producing Reports With knitr | Justin |
| 13:00 | Finish |
| Time | Topic | Instructor |
|---|---|---|
| 09:30 | Running and Quitting | Justin |
| 09:45 | Variables and Assignment | Justin |
| 10:05 | Data Types and Type Conversion | Justin |
| 10:25 | Built-in Functions and Help | Justin |
| 10:50 | Break (10 minutes) | |
| 11:00 | Libraries | Yunsoo |
| 11:20 | Reading Tabular Data into DataFrames | Yunsoo |
| 11:40 | Pandas DataFrames | Yunsoo |
| 12:10 | Break (5 minutes) | |
| 12:15 | Plotting | Yunsoo |
| 12:45 | Exercises and recap | Justin |
| 13:00 | Finish |
| Time | Topic | Instructor |
|---|---|---|
| 09:30 | Lists | Justin |
| 09:50 | For Loops | Justin |
| 10:15 | Conditionals | Justin |
| 10:40 | Looping Over Data Sets | Justin |
| 10:55 | Break (10 minutes) | |
| 11:05 | Plotting (brief recap) | Yunsoo |
| 11:20 | Writing Functions | Yunsoo |
| 11:45 | Variable Scope | Yunsoo |
| 12:05 | Break (5 minutes) | |
| 12:10 | Programming Style | Yunsoo |
| 12:35 | Break (5 minutes) | |
| 12:40 | Wrap-Up | Yunsoo |
| 13:00 | Finish |
Please complete the relevant setup before the first session you plan to attend. Both lessons assume basic familiarity with files and folders. You will need a Mac, Linux, or Windows computer, together with an up-to-date web browser. Tablets and Chromebooks are not recommended for following the workshop exercises. If you are using a UCL-managed computer and do not have permission to install software yourself, please arrange any required installation in advance.
The workshop will be delivered using Microsoft Teams. UCL staff and students should use the UCL Information Services Division guidance for Microsoft Teams for information about accessing Teams, signing in, meetings, and accessibility features.
Joining instructions will be sent to registered participants before the workshop. Before your first session, please check that you can sign in with your UCL account and join a Teams meeting on the computer you will use for the workshop, and that your audio is working. Headphones or a headset are recommended, particularly if you are joining from one of the shared rooms at Maple House.
Carpentries workshops are taught by live coding, so you will need to see both Teams and the software you are working in. We recommend one of the following arrangements:
The Carpentries' guidance on screen layouts for online workshops has additional suggestions.
To participate in the R sessions, please ensure you have the latest version of R and RStudio installed on your computer.
No previous programming experience is required, and we will teach these topics in the workshop. However, the first R session covers the introductory material relatively quickly so that we can spend more time working with data. If you are completely new to R/RStudio, or have not used them for a while, it may help to familiarise yourself with the software beforehand using the official Software Carpentry lesson.
You do not need to complete every exercise or memorise any syntax. The aim is simply to make RStudio and the basic workflow feel familiar before we revisit them together at the start of the first R session.
The Python sessions use Python 3 in JupyterLab, together with pandas and matplotlib. Please complete the setup before the first Python session on 28 October. We recommend the Carpentries' Miniforge/conda setup because it provides a consistent environment with the packages used in the lesson.
cd Downloads conda env create -f carpentries_environment.yml conda activate carpentriesIf the environment already exists on your computer, you only need to activate it with
conda activate carpentries.
carpentries environment active, run:
python --version
python -c "import pandas, matplotlib; print('Python setup OK')"
jupyter lab
JupyterLab should open in your web browser. Once you have confirmed that it launches, you can close the browser tab and stop JupyterLab in the terminal with Ctrl+C.
carpentries environment, navigate to the folder containing the unzipped data, and start JupyterLab with jupyter lab.
If you are using a UCL-managed computer and need help installing software or resolving permissions or configuration issues, please contact UCL IT Services. For workshop-specific questions about which software or materials are required, contact the workshop organiser.
We want the workshop to be accessible and inclusive. If there is anything we can reasonably do to support your participation, please contact justin.yang@ucl.ac.uk before the workshop. For information about accessibility features in Microsoft Teams, see the UCL ISD Microsoft Teams guidance.
Carpentries workshops are designed around live participation, coding, and exercises. Participants should therefore plan to attend in real time. Recordings are not currently planned.