RStudio is an integrated development environment (IDE) for R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.
rstudio.com
rstudio.com
How to Install R Studio
In order to run R and R-studio on your system, you need to follow the following three steps in the same order.
- Install R
- Install R-Studio
- Install R-Packages (If needed)
1. Install R
Follow the steps below with respect to the operating system you are using
For Windows :
For Mac :
For Linux :
For Windows :
- Download the binary setup file for R from the following link.( R for Windows )
- Open the downloaded .exe file and Install R
For Mac :
- Download the appropriate version of .pkg file form the following link. ( R for Mac )
- Open the downloaded .pkg file and Install R
For Linux :
- For complete R System installation in Linux, follow the instructions on the following link ( Link )
- For Ubuntu with Apt-get installed, execute sudo apt-get install r-base in terminal.
2. Install R Studio
On the following link Download R Studio choose the appropriate installer file for your operating system, download it and then run it to install R-studio.
3. Install the packages (Optional)
If your need to use R requires a particular package/library to be installed in R-studio. You can follow the instructions below to do so
- Run R studio
- Click on the Packages tab in the bottom-right section and then click on install. The following dialog box will appear
- In the Install Packages dialog, write the package name you want to install under the Packages field and then click install. This will install the package you searched for or give you a list of matching package based on your package text.
This completes the installation procedure for R Studio. If you want to continue with the Basic R tutorial click on the Basic Tutorial button in the left column.