R is an open source programming language and free software environment for statistical computing and graphical representation. The first step to getting started in R is installation.
Installation on windows
Installation is a two-step process that requires the installation of R as well RStudio. RStudio is an R-based integrated development environment (IDE).
- Click here to download the R installer from this official download page and run it. It will install R on your system.
- Click here to download the latest version of RStudio from the official download page and run it.
Getting Start with R
You can start RStudio by either clicking on the Rstudio icon on the desktop or the start menu.
The initial RStudio screen will look something like this.
Four components in RStudio
Now, go to File menu >> New File >> RScript. This will open the source window where you can write your first script.
Summary of Learning
- What is R and RStudio
- How to install R and RStudio
- How to open RStudio
- Source window in RStudio to write the first program