Skip to the content.

R-Workshop

Slides

University of Basel

by Lisa Reiber

lisallreiber.github.io/R-Workshop/ <– The One True URL that links to everything!

:spiral_calendar: September 28 and 29, 2023
:alarm_clock: 14:00 - 18:00 | 09:00 - 13:00
:hotel: Seminarraum 004


Pre-workshop Prep

TL;DR (friendly version below):

28th September is coming closer, and I am excited to have you. The workshop will give you a hands-on version of a reproducible website that communicates data availability with tables and visualization (available here).
However, we need you to make a few preparations so that we can start right away. Please make sure you have a stable internet connection and a second display to work with. It will make your life a lot easier if you can interact with us one one screen and work with R in another. Also make sure you install all the required pieces of software. We will be using RStudioCloud for the exercises during the workshop, but if something crashes or if you want to keep working with the things you learned in the workshop I would recommend installing the software prior to the workshop. To do so successfully requires some time and admin rights on your computer. If you’re ready, go to and follow the steps: https://github.com/lisallreiber/R-Workshop/blob/master/00_prep.R If you get stuck, this website will probably help.
Please use your Github account to set up a free RStudio Cloud account as well. We will use RStudio Cloud for hand-on exercises during the workshop. It is a nice way to prevent us from spending hours on fixing bugs due to missing packages etc.

If you arrive early (~10min) I can help with any technical problems that you have encountered.

Schedule

Thursday

14:00 - 14:30 1_1: Introduction
14:30 - 15:15 1_2: RStudio Workflows & R-Markdown
15:15 - 15:30 Break
15:30 - 16:30 1_3: Meta-Viz with ggplot2
16:35 - 16:45 Break
16:45 - 17:45 1_4: R Markdown: website features 17:45 - 18:00 Wrap-up

Friday

09:00 - 10:30 2_1: Git + GithubPages
10:30 - 11:00 Break
11:00 - 12:30 2_2: Putting all pieces together
12:30 - 13:00 2_3: Wrap-up

Overview

This is a 1-day hands on workshop designed for beginner and experienced R and RStudio users who want to learn about working reproducibly in R. We’ll work on project-oriented workflows, keeping text, code and outputs together (R Markdown), making data availability visualizations (ggplot2) and setting up a website to share all kinds of information (Git/GitHub).
In terms of your R skills, expect to come away with new knowledge of how to write and code with R Markdown, a better grasp of some tidyverse functions and how to share your analyses directly from RS tudio to your reproducible website.

Mission

During the workshop we will visit the different building blocks from which reproducible websites like this are made of. If everything goes well, you will succeed in producing a website with visualization of meta information via your own Github account.

Instructors

Themes

Feedback and communication

https://gather.town/app/RL6StuU0Rtlvtqp9/R-workshop is our virtual meeting room at Gather.town. We will use the workshop area for all-group input sessions and the group-table areas for working in small groups. Don’t worry if you are not familiar with Gather.town yet, we will explore it a together at the beginning of the workshop.

Issues <– all are encouraged to open issues as we go. This is actually tremendously helpful to me! Examples of issue-worthy thoughts:

Resources

Here you can find a list of resources specifically to the topics we cover in the workshop.

R & RStudio
R Markdown
Data Viz
Git & Github
Cheatsheets
Other

Credits

Some of the workshop materials are modifications of the following resources:


This work is licensed under a Creative Commons Attribution 4.0 International License.