Choose your language
RStudio Course
Over 2 million learners across the globe

RStudio Course

4.7

Master RStudio from the ground up and gain the practical R programming skills employers actually look for. This course takes you from installation and basic syntax all the way through data wrangling, statistical analysis, visualisation, and professional reporting. Every concept is grounded in real analytical workflows used by data professionals every day.

Dedika for businesses

What you will learn:

You will learn to navigate the RStudio IDE, write clean R scripts, and work confidently with vectors, data frames, and lists. You will import data from CSV files, Excel spreadsheets, databases, and web APIs, then clean and transform it using dplyr and tidyr. You will create compelling visualisations with ggplot2 and apply descriptive and inferential statistics to draw meaningful conclusions. You will produce reproducible reports with R Markdown and build interactive dashboards using Shiny. Advanced topics include functional programming with purrr, version control with Git, and machine learning with tidymodels.

How you study practically RStudio Course

How you practise RStudio Course

For companies looking to train their teams

With Dedika for businesses, the course includes exercises and examples tailored to your own business and the way your company needs.

Click here

Course content

8 Chapters • 40 LessonsDuration between 4 and 360 hours (you decide)

Chapter 1See details

Getting Started with RStudio

  • Lesson 1 • Installing R and RStudio

    Covers downloading and configuring R and RStudio on major operating systems. Establishes a working environment required for all subsequent exercises.

  • Lesson 2 • Navigating the RStudio Interface

    Introduces the four main panes and their functions within RStudio. Enables efficient workflow by mastering layout customisation and pane usage.

  • Lesson 3 • Writing and Running R Scripts

    Teaches creating, saving, and executing R script files. Connects scripting habits to reproducible and organised data analysis workflows.

  • Lesson 4 • Getting Help in RStudio

    Demonstrates built-in help tools, documentation lookup, and community resources. Empowers students to troubleshoot independently throughout the course.

  • Lesson 5 • Understanding R Syntax Basics

    Explains core R syntax including assignment, operators, and function calls. Provides the grammatical foundation needed to write valid R code.

Chapter 2See details

R Data Types and Structures

  • Lesson 1 • Working with Vectors

    Teaches creating, indexing, and operating on atomic vectors. Vectors are the fundamental building block of all R data structures.

  • Lesson 2 • Lists and Nested Structures

    Explains lists as flexible containers for mixed data types. Prepares students for handling complex, hierarchical data common in real projects.

  • Lesson 3 • Scalar Data Types in R

    Covers numeric, integer, character, logical, and complex types. Understanding types prevents coercion errors in later data manipulation tasks.

  • Lesson 4 • Matrices and Arrays

    Introduces two-dimensional matrices and multi-dimensional arrays. Builds skills for numerical computing and structured data representation.

  • Lesson 5 • Data Frames and Tibbles

    Covers the data frame as R's primary tabular structure and introduces tibbles. Students can construct and inspect rectangular datasets ready for analysis.

Chapter 3See details

Importing and Exporting Data

  • Lesson 1 • Importing JSON and Web Data

    Demonstrates jsonlite and httr for reading JSON and API responses. Expands data access to modern web-based and semi-structured sources.

  • Lesson 2 • Exporting Data and Results

    Covers write.csv(), writexl, and saveRDS for saving outputs. Ensures students can deliver clean, reproducible data products to stakeholders.

  • Lesson 3 • Reading CSV and Text Files

    Teaches read.csv(), read.table(), and readr functions for flat files. Establishes the most common data ingestion workflow used in practice.

  • Lesson 4 • Connecting to Databases

    Introduces DBI and odbc packages for querying relational databases. Enables students to access enterprise data sources directly from RStudio.

  • Lesson 5 • Importing Excel and Spreadsheet Data

    Covers readxl and openxlsx packages for Excel file ingestion. Addresses the widespread use of spreadsheets as a primary data source.

Chapter 4See details

Data Wrangling with dplyr and tidyr

  • Lesson 1 • Handling Missing Data

    Covers detection, removal, and imputation of missing values in data frames. Prevents downstream errors caused by NA values in analysis pipelines.

  • Lesson 2 • Joining and Merging Data Frames

    Explains left, right, inner, and full joins using dplyr join functions. Builds the ability to combine data from multiple sources into one dataset.

  • Lesson 3 • Reshaping Data with tidyr

    Demonstrates pivot_longer() and pivot_wider() for tidy data transformation. Tidy structure is required for most visualisation and modelling functions.

  • Lesson 4 • Core dplyr Verbs

    Teaches filter(), select(), mutate(), arrange(), and summarize(). These five verbs handle the majority of real-world data transformation tasks.

  • Lesson 5 • Grouping and Aggregation

    Covers group_by() combined with summarize() for split-apply-combine workflows. Enables computation of group-level statistics essential for reporting.

Chapter 5See details

Data Visualisation with ggplot2

  • Lesson 1 • Common Chart Types

    Covers scatter plots, bar charts, histograms, box plots, and line charts. Matching chart type to data type is a core data communication skill.

  • Lesson 2 • Saving and Exporting Plots

    Covers ggsave() with format, resolution, and size options for export. Ensures plots meet quality standards for reports, presentations, and publications.

  • Lesson 3 • Faceting and Multi-Panel Plots

    Demonstrates facet_wrap() and facet_grid() for small-multiple visualisations. Faceting reveals group-level patterns without cluttering a single chart.

  • Lesson 4 • Customising Themes and Labels

    Teaches axis labels, titles, legends, and built-in themes for polished output. Customisation transforms raw plots into professional, audience-ready visuals.

  • Lesson 5 • Grammar of Graphics Fundamentals

    Introduces the layered grammar: data, aesthetics, and geometries. Understanding this framework is essential for constructing any ggplot2 chart.

Chapter 6See details

Statistical Analysis in R

  • Lesson 1 • Hypothesis Testing

    Covers t-tests, chi-square tests, and ANOVA for comparing groups. Students select the appropriate test based on data type and research question.

  • Lesson 2 • Correlation Analysis

    Teaches Pearson and Spearman correlation coefficients and significance tests. Correlation quantifies linear and monotonic relationships between variables.

  • Lesson 3 • Descriptive Statistics

    Computes measures of central tendency, spread, and distribution shape. Descriptive summaries are the starting point for any quantitative analysis.

  • Lesson 4 • Multiple Regression and Model Selection

    Extends regression to multiple predictors and introduces model comparison criteria. Students build parsimonious models that balance fit and complexity.

  • Lesson 5 • Simple Linear Regression

    Builds and interprets simple linear models using lm(). Regression connects a continuous outcome to a single predictor with quantified uncertainty.

Chapter 7See details

R Markdown and Reproducible Reporting

  • Lesson 1 • Formatting Tables in Reports

    Demonstrates knitr::kable() and kableExtra for styled, publication-ready tables. Well-formatted tables communicate data summaries more effectively than raw output.

  • Lesson 2 • Parameterised Reports

    Teaches YAML parameters and render() for generating multiple report variants. Parameterisation automates report production across different subgroups or time periods.

  • Lesson 3 • Outputting to PDF and Word

    Configures LaTeX-based PDF output and Word document templates. Matching output format to organisational standards ensures stakeholder acceptance.

  • Lesson 4 • Introduction to R Markdown

    Explains the R Markdown file structure, YAML header, and knitting process. Reproducible reporting eliminates manual copy-paste errors in analytical deliverables.

  • Lesson 5 • Embedding Code and Output

    Covers code chunk options for controlling output, warnings, and figure size. Precise chunk control determines what readers see in the final document.

Chapter 8See details

Advanced R Programming Techniques

  • Lesson 1 • Functional Programming with purrr

    Teaches map(), map_df(), and walk() for applying functions over lists. Functional iteration replaces error-prone for-loops with readable, predictable code.

  • Lesson 2 • Debugging and Error Handling

    Introduces tryCatch(), browser(), and traceback() for diagnosing code failures. Robust error handling prevents silent failures in production analysis pipelines.

  • Lesson 3 • Control Flow and Conditionals

    Explains if/else, switch(), for-loops, and while-loops in R. Control flow structures enable dynamic, condition-dependent programme behaviour.

  • Lesson 4 • Writing Custom Functions

    Covers function syntax, arguments, default values, and return values. Custom functions eliminate code duplication and enforce consistent logic across scripts.

  • Lesson 5 • Performance Optimisation

    Covers profiling with profvis, vectorisation, and data.table for speed gains. Optimised code handles large datasets within acceptable time constraints.

Certification

Your valid completion certificate

This course is for you:

  • Business analysts: ready to move beyond spreadsheet limitations into scalable data tools.

  • Graduate students: needing reproducible research workflows for thesis or dissertation work.

  • Marketing professionals: wanting to analyse campaign data without relying on other teams.

  • Healthcare researchers: looking to apply statistical methods directly to clinical datasets.

  • Career changers: building technical credentials to enter the data and analytics job market.

  • Financial analysts: seeking to automate reporting and handle larger datasets more efficiently.

What our students say

Your lessons are perfect. I purchased the one-year package and finally have the opportunity to follow various topics of my interest without needing to change platforms... I thank you for everything you do, I've already recommended you to other people...
Giulio Carlo
Giulio CarloDigital Marketing Student
I like how the lessons are straight to the point and how I can change chapters and skip content I don't need.
Mariana Ferres
Mariana FerresPhotography Student
I like the content and the way videos are presented and transcribed, which speeds up the process!
Luciana Alvarenga
Luciana AlvarengaNail Design Student
The platform is fast, simple to use. The diversity of content and complementary videos help a lot with learning.
André Felipe
André FelipePrompt Engineering Student

Top training programmes

FAQ

Who is Dedika?

Is the certificate valid in Kenya?

Are the courses free?

What is the course workload?

What are the courses like?

How do the courses work?

What is the duration of the courses?

What is the cost or price of the courses?

What is an EAD or online course and how does it work?

PDF Course