Courses/R Programming/Introduction to R

Introduction to R

Get started with R for data analysis and statistics

Beginner⏱️ 35 minutes

Lesson Content

Introduction to R

R is a programming language designed for statistical computing and graphics. It's widely used in data science, statistical analysis, and machine learning.

Key Features:

  • Powerful statistical analysis
  • Excellent data visualization (ggplot2)
  • Rich ecosystem of packages (CRAN)
  • Vector-based operations
  • Interactive development

Basic R:

# Print output
print("Hello, R!")
cat("Hello, R!\n")

# Variables
name <- "R Programming"
age <- 30
is_fun <- TRUE

Vectors:

numbers <- c(1, 2, 3, 4, 5)
names <- c("Alice", "Bob", "Charlie")
r
Loading...
Next (Complete this lesson first)
R Functions and Data Structures