1  Introduction to R

Learning Objectives: After this chapter you will be able to:

  • Describe what R is and why it is widely used for data science.
  • Distinguish RStudio Desktop from Positron as an IDE for R.
  • Locate the panes you will work in: script editor, console, and output.

1.1 Overview

R is a free and open source programming language widely used in academia, industry and government organizations for data science and machine learning. R is well suited for interactive data analysis, visualization and modeling. To view a list of organizations using R, click here.

Background on R organizations, package sources and the R GUI is in Package management.

1.2 GUI

1.2.1 RStudio

RStudio is a popular IDE (integrated development environment) built for the data science workflow. RStudio is developed by Posit (formerly RStudio, rebranded in 2022); Positron is a modern alternative IDE for R and Python.

Screenshot of the RStudio IDE panes

Key points

  • R is a free and open source language for data analysis, visualization and modeling.
  • RStudio is an IDE that supports the data science workflow.
  • Positron is another IDE for working with R and Python.

Next: Install R & RStudio

Course companion: Course 1, lesson 0