How to Download and Install R for Windows – Data to Fish

In this short tutorial, you’ll see how to download and install R for Windows. You’ll also see how to run a simple script in R.

Steps to Download and Install R for Windows

Step 1: Download R

To start, go to cran.r-project.org/bin/windows/base, and then click on the link to “Download R for Windows.”

Step 2: Run the .exe file

Once the download is completed, run the .exe file, and then follow the installation instructions.

Step 3: Launch R

Once you completed the installation, launch R.

Step 4: Run your Script

To run a new script, click on File, and then select New Script.

Then, type your script in the R Editor. For example, type the following syntax to print the “Hello World” expression:

print ("Hello World")

Finally, press F5 to run your script. You’ll then see the result in the R Console:

[1] "Hello World"

Additional Resources

You may also want to check the following guides that explain the full steps to: