R programming: a crash course for beginners

Learn the BASIC of programming in R, a common tool for data analysis and statistics. The goal of this workshop is to provide a starting point for those newly interested in R.

Two people working together with computers.

Sign up!

Target group

This workshop is designed for Early Career Researchers at the Faculty of Humanities, Social Sciences and Education who identify themselves as ABSOLUTE beginners in R.

Learning outcomes

After attending this mini-workshop, you will be able to:

  • Navigate and use the RStudio interface
  • Understand basic R commands, syntax, and structure
  • Import data into RStudio from various file types (e.g., CSV, Excel, TXT)
  • Explore and summarize data using basic functions
  • Assign values to variables and perform basic calculations
  • Select individual values and subsets from your data
  • Handle and clean data (e.g., renaming columns, removing missing values)
  • Use simple data manipulation functions, like filtering and sorting
  • Create basic visualizations (e.g., bar plots, histograms, scatter plots)
  • Save and export your results or figures
  • No advanced R programming will be teach in this day workshop.

Setup and preparations

Participants need to have their own laptop with both R and RStudio installed. It is recommended that you bring a power cord for your own device.

Both R and RStudio are free. R can be downloaded from https://cran.r-project.org and RStudio from https://www.rstudio.com/products/rstudio/download/.

For UiO laptops, R and RStudio can be installed via Software Center.

If you need help installing R and/or RStudio, contact local IT in your department. If you cannot install R and RStudio on your own computer, you can use UiO Programkiosk or Posit Cloud (formerly RStudio Cloud).

Working methods

Hands-on workshop with live coding

Teachers

Elisa Pierfederici | Digital Scholarship Center (DSC)

Published Oct. 30, 2024 2:20 PM - Last modified Jan. 5, 2026 10:50 AM