Installing and Using RStudio with R
While R comes with a neat console that you can use for all your R programming needs, you can compliment it with RStudio which is a Gui built on top of R and makes it very easy to manage your programming requirements.
Installing RStudio
You can download RStudio from the following link:
https://www.rstudio.com/products/rstudio/download/
On the page you will come across multiple choices for downloading the software.

- From a licensing perspective, there is a personal license (which is free) and then there is a commercial license. For our purpose, you need the personal license.
- Also, there are two versions for the software: 1) RStudio Desktop and 2) RStudio Server. For now, you just need to download RStudio Desktop.
So, among all the choices available, you will need to download RStudio Desktop with Personal License.
When you click the download button, it will present you with a choice of download files. You must download the file suitable for your operating system.
It is preferred to download Installers rather than Zip/Tarballs or Source Code.
Click the relevant file and the download will begin.
Once the installer is downloaded, click on it and install it. Follow the onscreen instructions to complete the installation. Once installed, open the application and now you’re running RStudio.
You can quickly try some arithmetic to get the idea of how to use the interface.
For example:
CTRL+Lto clear the console3+5to calculate the sum of 3 and 526%%3to calculate the 26 modulo 3.
Your RStudio screen should now look something like this:

Test Your Knowledge
Check your understanding of this lesson with a short quiz.


