
R is an interpreted programming language and also a software environment that is widely used for statistical computing and data analysis. It was developed by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and was released in 1995.
R is freely available under the GNU General Public License, and pre-compiled binary versions are provided for various operating systems like Linux, Windows and Mac. R is open-source and has a large and active community of users and developers.
As we Know earlier , The core of R is an interpreted computer language which allows branching and looping as well as modular programming using functions. R allows integration with the procedures written in the C, C++, .Net, Python or FORTRAN languages for efficiency.
As a conclusion, R is world’s most widely used statistics programming language. It’s the # 1 choice of data scientists and supported by a vibrant and talented community of contributors. R is taught in universities and deployed in mission critical business applications. This tutorial will teach you R programming along with suitable examples in simple and easy steps.
Installing R to the local computer is very easy. First, we must know which operating system we are using so that we can download it accordingly.
The official site https://cloud.r-project.org provides binary files for major operating systems including Windows, Linux, and Mac OS. In some Linux distributions, R is installed by default, which we can
verify from the console by entering R.
To install R, either we can get it from the site https://cloud.r-project.org or can use commands from the terminal.
There are following steps used to install the R in Windows:
First, we have to download the R setup from https://cloud.r-project.org/bin/windows/base/.

When we click on Download R-4.4.1 for Windows, the R setup will start downloading. Once the download is complete, we need to run the R setup by following these steps:




The instruction to install Linux varies from flavor to flavor. These steps are mentioned under each type of Linux version in the mentioned link. However, if you are in a hurry, then you can use yum command to install R as follows :
$ yum install R

There are only three steps to install R in Linux

When creating an entry for apt, you must use the Ubuntu release name your distribution is based on. For example, do not use “uma”, instead use “focal.”
1. Download R for macOS
2. Install R
3. Verify Installation
Install RStudio (Optional but Recommended)
This process will get R up and running on your macOS system
We got SyntaxError because variables cannot start with 1
