Skip to main content

Installing R Studio on Windows and MAC Operating System

The Beginner’s Guide to Installing R Studio for Windows and MAC Operating System

We’ve installed R and can open the R interface to input code, but there are other ways to interface with R - and one of those ways is using R Studio. In this lesson, we’ll get R Studio installed on your computer.


Installing R on Windows and MAC Operating Systems.

What is R Studio?

R Studio is a graphical user interface for R, that allows you to write, edit and store code, generate, view and store plots, manage files, objects and data frames, and integrate with version control systems – to name a few of its functions. We will be exploring exactly what R Studio can do for you in future lessons, but for anybody just starting out with R coding, the visual nature of this program as an interface for R is a huge benefit.

Installing R Studio

Thankfully, installation of R Studio is fairly straightforward. First, you go to the R Studio download page. We want to download the R Studio Desktop version of the software, so click on the appropriate “Download” , under that heading and you will see a list of “Installers for supported platforms”.

 


The R Studio download page. Select R Studio Desktop

 


The various versions of R Studio are available for different operating systems

At this point the installation process diverges for Macs and Windows, so follow the instructions for the appropriate OS. Let’s begin with Windows.



Installing R Studio - Windows

For Windows, select the R Studio installer for the various Windows editions (10/11). This will initiate the download process.

When the download is complete, open this executable file to access the installation wizard. You may be presented with a security warning at this time - allow it to make changes to your computer.

Following this, the installation wizard will open. Following the defaults on each of the windows of the wizard is appropriate for installation. In brief, on the welcome screen, click next. If you want R Studio installed elsewhere, “Browse” through your file system. Otherwise, it will likely default to the “Program Files” folder - this is appropriate. Click next. On this final page, allow R Studio to create a Start menu shortcut. Click Install. R Studio is now being installed. Wait for this process to finish; R Studio is now installed on your computer. Click Finish.

Check that R Studio is working appropriately by opening it from your Start menu.

The installation wizard for R Studio installation

Completing installation of R Studio

R Studio is running!

Installing R Studio - Macs

For Macs, select the Macs OS X 11+ Studio installer (Mac OS X 11+ (64-bit)). This will initiate the download process. If your MAC version is older than this, you can further scroll down and find for your download link for your version.



When the download is complete, click on the downloaded file and it will begin to install. When this is finished, the applications window will open.

Drag the R Studio file into your Applications folder to complete installation for R Studio

Test the installation by opening your applications folder and opening the R Studio software.

R Studio is running!

Summary

In this lesson we installed R Studio, both for Macs and for Windows computers. Before moving on to the next lecture, click through the available menus and explore the software a bit. We will have an entire lesson dedicated to exploring R Studio, but having some familiarity beforehand will be helpful!

Thanks for Visiting and reading our Blog.

Comments

  1. Looking forward to working in R studio with you, under your guidance.

    ReplyDelete

Post a Comment

Type your comment here.
However, Comments for this blog are held for moderation before they are published to blog.
Thanks!

Popular posts from this blog

Mastering Data Science Experimental Design: From Hypothesis to Results

The Beginner’s Guide to Data Science Experimental Design: Now that we’ve looked at the different types of data science questions, we are going to spend some time looking at experimental design concepts, in our last lesson of our first Course "The Data Science Toolbox" in our Data Science Specialization using R Programming. As a data scientist, you are a  scientist  and as such, need to have the ability to design proper experiments to best answer your data science questions! Previous lesson, if you haven't watched! What does experimental design mean? Experimental design is organizing an experiment so that you have the correct data (and enough of it!) to clearly and effectively answer your data science question. This process involves clearly formulating your question in advance of any data collection, designing the best set-up possible to gather the data to answer your question, identifying problems or sources of error in your design, and only then, collecting the app...

The Evolution of R: From S-Inspired Language to Statistical Powerhouse

The Beginner’s Guide to the History of R Programming: R Programming is basically the dialect of S Programming. S History: The S programming language was first developed in the late 1970s by John Chambers and his colleagues at Bell Laboratories. It was initially used for data analysis and graphics, and it served as the basis for the commercial software package S-PLUS, which was released in the early 1990s. While S-PLUS was popular in the statistical community for many years, it has since been largely replaced by the open-source software environment R, which was inspired by S and developed by some of the same people who worked on S-PLUS. As for the current version of S, it's not as widely used as R, and there are several different implementations of the S language that are still available today, including: S-PLUS: This is the commercial implementation of S that was developed by TIBCO Software Inc. It is still in use today, although it has been largely supplanted by R in the statisti...

Streamlining Your Workflow: Linking Git/GitHub with R Studio for Efficient Version Control

The Beginner’s Guide Linking Git/GitHub with R Studio: Now that we have both R Studio and Git set-up on your computer and a GitHub account, it’s time to link them together so that you can maximize the benefits of using R Studio in your version control pipelines. First we will link R studio and Git and then we will link R Studio and GitHub. We will also link an existing Project with Git and GitHub. Linking R Studio and Git In R Studio, go to Tools > Global Options > Git/SVN Use the Global Options menu to tell R Studio you are using Git as your version control system Sometimes the default path to the Git executable is not correct. Confirm that git.exe resides in the directory that R Studio has specified; if not, change the directory to the correct path. Otherwise, click OK or Apply. Confirm that the directory R Studio points to for the Git executable is correct R Studio and Git are now linked. Linking R Studio and GitHub In that same R Studio option window, clic...