R Variables

Data Science with R Programming 6 min min read Updated: Mar 07, 2026 Beginner
R Variables
Beginner Topic 2 of 10

Variables in R

Variables store data values that can be used later in a program.

Example

r x <- 10 y <- 20 sum <- x + y

Next Tutorial: R Data Types

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators