Marie-Hélène Burle
February 15, 2024
Created by academic statisticians Ross Ihaka and Robert Gentleman
The name comes from the language S which was a great influence as well as the first initial of the developers
Launched in 1993
A GNU Project since 1997
Free and open source
High-level and easy to learn
Large community
Very well documented
Unequalled number of statistics and modelling packages
Integrated package manager
Easy connection with fast compiled languages such as C and C++
Fields with heavy statistics, modelling, or Bayesian inference such as biology, linguistics, economics, or statistics
Data science
Inconsistent syntax full of quirks
Slow
Large memory usage
R being an interpreted language, it can be run non-interactively or interactively
If you write code in a text file (called a script), you can then execute it with:
The command to execute scripts is Rscript
rather than R
By convention, R scripts take the extension .R
There are several ways to run R interactively:
Posit (formerly RStudio Inc.) developed a great and very popular IDE called RStudio
Here is its cheatsheet (click on it to download it):