In this video tutorial, we will see how to install R software and R studio in Windows 11 with some easy steps.
Download R:
Visit the official R Project website at https://cran.r-project.org/mirrors.html.
Choose a nearby CRAN mirror (a download location).
Click on the link corresponding to your version of Windows (usually “base”).
Download R for Windows:
Click on “install R for the first time” if this is your first time installing R.
Download the latest version of R for Windows (an .exe installer file).
Run the Installer:
Locate the downloaded .exe installer file (e.g., “R-4.1.1-win.exe”) and double-click it to run the installer.
Select Installation Options:
Choose your preferred language and click “OK.”
Read and accept the GNU General Public License terms.
Leave the default installation options as they are and click “Next.”
Select Components:
In the “Select Components” screen, you can choose to customize the installation if needed. However, it’s usually best to leave the defaults selected.
Click “Next.”
Select Startup Options:
Choose “No (accept defaults)” and click “Next.”
Select Additional Tasks:
Leave all the options checked and click “Next.”
Select Install Location:
Choose the destination folder where R will be installed or leave the default location.
Click “Next.”
Select File Associations:
Leave these options as the defaults and click “Next.”
Completing the Installation:
Review your selections, and if everything looks good, click “Install.”
Installation Complete:
Once the installation is finished, click “Finish.”
Lets look into the steps of RStudio Installation process:
Download RStudio:
Visit the RStudio download page at https://www.rstudio.com/products/rstudio/download/#download.
Under “Installers for Supported Platforms,” find the “RStudio Desktop” section and click the “Download” button next to “RStudio Desktop – Windows 7+.”
Run the Installer:
Locate the downloaded RStudio installer file (e.g., “RStudio-x.yy.zzz.exe”) and double-click it to run the installer.
Install RStudio:
Follow the on-screen instructions. You can leave the default settings as they are.
Finish Installation:
Once the installation is complete, click “Finish.”
Launching R and RStudio:
After installing both R and RStudio, you can launch R by simply searching for “R” in the Windows Start menu and clicking on the R program icon.
To launch RStudio, search for “RStudio” in the Windows Start menu and click on the RStudio program icon.
Now you have R and RStudio installed on your Windows 11 system, and you’re ready to start using them for data analysis and programming in the R language.