What is R?
R is a language made for working with numbers and data, like a super calculator that can also draw charts. Scientists and analysts use it to find patterns in information.
In this page:
What is R?
R is a programming language and free software environment built specifically for statistical computing and graphics. It was created by Ross Ihaka and Robert Gentleman at the University of Auckland in 1993, drawing heavily on the S language developed earlier at Bell Labs.
R is the tool of choice across data science, statistics, academic research, and bioinformatics, thanks to its enormous ecosystem of statistical packages and built-in plotting capabilities.
Note:
R consistently ranks among the top languages for data analysis and statistics -- if your work involves interpreting data rather than just building software, R is often the fastest path to an answer.
Example: What is R?
print("Hello, World!")
Login to try C/C++/Java/PHP code in the editor
Related Topics
{# common_mistakes/chapter_summary/browser_support: on Hindi pages the
view already swaps in the hi_ translation fields (or blanks these
out if untranslated), so this renders correctly for both languages
without a lang_code check here. #}
Common Mistakes
- Thinking R is only for statistics and cannot do general programming, when it is a full language used for data cleaning, plotting and scripting.
- Expecting R to work like Python with the same syntax, such as using
=everywhere and 0-based indexing, when R conventionally uses<-and starts at 1. - Installing only RStudio and expecting it to run code, when RStudio is an editor that needs R installed separately.
🔒
Chapter Quiz — Complete all 6 topics to unlock
0/6 topics done
Complete these topics first: