r environment set up
r environment set up

Setting up R Environment

Posted on

Local Environment Setup

R is a programming language and also a software platform that is available for multiple operating systems including Linux, Windows, and Mac as on previous article R Overview.

A. Installation on Linux

R is accessible as a binary for numerous Linux distributions, obtainable at the R Binaries location. Installation procedures differ across different Linux distributions, with specific steps outlined for each version in the provided link. Alternatively, if you’re pressed for time, you can swiftly install R using the following yum command:

$ yum install R

Above command will install core functionality of R programming along with standard packages.

B. Installation on Windows

You can download the Windows installer version of R from R-3.2.2 for Windows (32/64 bit) as follows and save it in a local directory.

Save the installer file and wait until the download process is complete. After the download is complete, run the R-4.4.0-win.exe file (the R installer version file may differ according to the last update). You just need to click Next and Finish as follows.

After completing the installation, you can open the R GUI. In Windows 10, click or press the Start button and look for the R folder and select R according to the version you have installed as follows.

Congratulation! now you can use R via this R GUI. However, you can also use the Integrated Development Environment (IDE) to make it more comfortable, easier and more efficient when working with R. The IDE for R that is currently most frequently used is RStudio. You can learn how to install RStudio via this posting.