Pre-class activity for today:
Install R and RStudio, following Steps 1 and 2 from this website.
Install Git onto your computer.
If using Windows, refer to this website
If using Mac OS or Linux, refer to this website
If you already have R, RStudio, and Git already available on your computer, verify that you have the most recent versions of each. This is especially important for R
, as it is updated regularly (approximately each month). Currently, Gaurav is using R version 4.5.1 (2025-06-13 ucrt).a
Create an account on GitLab, which is the remote git server that we will use for this course.
Follow the steps in this video to authenticate your laptop’s credentials with Gitlab.
Share your gitlab username with Gaurav through email or Discord so that you can be added to the course “group”.
Within R
, execute the following code to install useful packages:
Direct link: https://opensciency.github.io/sprint-content/ethos-of-open/lesson1-intro-to-open-science.html
Direct link: https://www.youtube.com/watch?v=Op9l8PwCTfY&t=1793s
Tools overview:
R and RStudio
Git, Gitbash, and Gitlab
In this course, plan to write R
(or python
) code in RStudio
, and complete your submissions through Gitlab.
Let’s attempt to recreate the results from one of Gaurav’s first papers.