Skip to content
BENIBIX Learn

R (Programming Language)

Development🔤 LanguagesPopular Languages

Also known as R Language, R Programming

A free language for stats and for drawing charts from data.

Think of it like

It is like a smart sum box that can also draw charts.

Example

Jack loads a table of test scores into R. Two lines give the average and draw a chart.

Why it matters

Many new statistics methods appear in R first. Researchers share their work as R code.

Definition

R is a free language made for statistics and charts. It works with whole lists and tables of numbers at once. It has built-in tools for averages, tests and models. Thousands of extra packages add more, shared on a site called CRAN. It is widely used in research, health and data teams.

Example code

r
> scores <- c(70, 85, 90)
> mean(scores)
[1] 81.66667
Make a list of three scores, then ask for the average.
R sits on the data science shelf, beside a chart.

Common mistake

Treating it like a general app language. It is great for analysis and weak for building websites or games.

Key takeaways

  1. 1
    Made for stats. Tests and models built in.
  2. 2
    Whole tables. Works on many numbers at once.
  3. 3
    Packages. Extra tools shared on CRAN.

Learn it properly