Download and Install [R & Rstudio] in Windows and Mac
Install
Software
OS
Windows
This blog helps you to download R and RStudio in Windows or Mac
R
Download R
Note
- Go to the CRAN website.
- Choose a CRAN mirror and click on Download R for Windows.
- Click on base and then on Download
R x.x.x
for Windows (the latest version will be shown).
Install R
Note
- Open the downloaded
.exe
file and follow the installation process. - Choose the installation language and follow the set-up process.
- Choose the default options, unless if
user
has any specific requirements and after installation clickfinish
.
RStudio
Download RStudio
Note
- Go to RStudio website.
- Choose the
RStudio Desktop
(Open Source License) for Windows.
Install Rstudio
Note
- Open the downloaded
.exe
file and follow the installation process. - Choose the installation language and follow the set-up process.
- Choose the default options, unless if
user
has any specific requirements and after installation clickfinish
.
MacOS
R
Download R
Note
- Go to the CRAN website.
- Click on Download R for
macOS
. - Download the latest
.pkg
version for macOS.
Install R
Note
- Open the
.pkg
file once downloaded. - Follow the installation prompts and enter your password when prompted.
- Click Continue and then Install.
Install Xcode (for dependencies)
Tip
- Open Terminal and run the following command to install Xcode tools:
xcode-select --install
- Please follow the instructions on the screen and install.
RStudio
Download RStudio
Note
- Go to RStudio website.
- Choose the
RStudio Desktop
(Open Source License) formacOS
.
Install Rstudio
Note
- Open the downloaded
.dmg
file. - Drag and drop the
RStudio icon
to the Applications folder. - Click and open RStudio from the Applications folder.
Notes
Important
System Requirements:
Both Windows and macOS should be up-to-date to avoid compatibility or any other issues.R and RStudio Versions:
Always ensure that you are using the latest versions of both R and RStudio for compatibility with packages.Package Dependencies:
Some packages might require additional system libraries, which the package installer will prompt you to install if needed.