Learning Track: Getting Started with R

R
BA
A beginner learning path for students with no prior programming experience who want to use R for data analysis — from installation through data objects, project setup, and first workflows.
Author

Claudius Gräbner-Radkowitsch

Published

June 16, 2026

Modified

June 16, 2026

1 Who This Track Is For

This track is for students who have never used R before and want to reach the point where they can load, inspect, and work with data confidently. No prior programming experience is assumed — a working computer and a willingness to experiment are all you need.

By the end of this track you will be able to:

  • Install R, RStudio, and packages on your own machine
  • Navigate the RStudio interface and write basic R code
  • Understand R’s core object types: functions, vectors, factors, and data frames
  • Organise your work in a reproducible R project with a sensible folder structure

This track ends where data work begins. After completing it, continue with the Data Workflow in R track to load, clean, and visualise real data.


2 Core Sequence

2.1 1. Installation

Getting Started with R: Installing Everything You Need

Install R and RStudio, orient yourself in the RStudio interface, and run your first commands in the console. Start here if you have never opened R before.

2.2 2. Packages

Installing R Packages

Understand what packages are, install them from CRAN, and load them into a session. Covers the difference between install.packages() and library() and how to find packages you need.

2.3 3. First Steps

First Steps in R

Write your first R code: arithmetic, variable assignment, and basic operations. Develops the mental model of R as an interactive calculator before introducing more structured programming.

2.4 4. Functions

Object Types in R I: Functions

Understand how functions work in R — arguments, defaults, return values, and how to read help documentation. Functions are the primary way of doing anything in R; this page makes them legible.

2.5 5. Vectors

Object Types in R II: Vectors

The fundamental data structure in R: atomic vectors, their types, how to create and index them, and how vectorised operations work. Understanding vectors makes everything else in R predictable.

2.6 6. Factors and Data Frames

Object Types in R III: Factors and Data Frames

Factors encode categorical variables; data frames hold rectangular datasets. This page covers both — how to create them, access their contents, and why factors behave differently from character vectors.

2.7 7. Project Setup

Setting Up an R Project

Create an RStudio project, organise files into a sensible folder structure, and use here::here() for portable file paths. Good project hygiene from the start makes your work reproducible and shareable.


3 All R Programming Resources

Citation

BibTeX citation:
@inreference{graebner2026-getting-started-with-r,
  author = {Gräbner-Radkowitsch, Claudius},
  editor = {Gräbner-Radkowitsch, Claudius},
  title = {Learning {Track:} {Getting} {Started} with {R}},
  booktitle = {Method and Inquiry},
  date = {2026-06-16},
  url = {https://euf-methodology-hub.netlify.app/tracks/getting-started-with-r},
  langid = {en}
}
For attribution, please cite this work as:
Gräbner-Radkowitsch, Claudius. 2026. “Learning Track: Getting Started with R.” In Method and Inquiry, edited by Claudius Gräbner-Radkowitsch. June 16. https://euf-methodology-hub.netlify.app/tracks/getting-started-with-r.