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

What is Data? And What is Data Science Process?

The Beginner’s Guide to Data & Data Science Process About Data: In our First Video today we talked about Data and how the Cambridge English Dictionary and Wikipedia defines Data, then we looked on few forms of Data that are: Sequencing data   Population census data ( Here  is the US census website and  some tools to help you examine it , but if you aren’t from the US, I urge you to check out your home country’s census bureau (if available) and look at some of the data there!) Electronic medical records (EMR), other large databases Geographic information system (GIS) data (mapping) Image analysis and image extrapolation (A fun example you can play with is the  DeepDream software  that was originally designed to detect faces in an image, but has since moved on to more  artistic  pursuits.) Language and translations Website traffic Personal/Ad data (e.g.: Facebook, Netflix predictions, etc.) These data forms need a lot of preprocessin...

Welcome to the Data Science Specialization using R!

The Beginner’s Guide to the Data Science Specialization using R! In my first video, I introduced the learners to the Data Science Specialization using R. I have covered topics such as data manipulation, data visualization, statistical inference, and machine learning. I have also talked about the importance of using R in data science and the benefits of the Data Science Specialization. You are now ready to dive deeper into the world of data science with R and learn from my expertise. If you haven't watched my first video please find it below: Course Dependency Table: To help my viewers better understand the structure and dependencies of the Data Science Specialization using R, I have provided a course dependency table. This table will show which courses build upon the knowledge learned in previous courses and which courses are prerequisites for others. For the courses, we consider two forms of dependency: Hard dependency: Students will be required to know material from the prerequi...

Mastering R Programming: Best Coding Practices for Readable and Maintainable Code

The Beginner’s Guide to Coding Standards: When it comes to programming, writing code that is easy to read and maintain is just as important as writing code that works. This is especially true in R programming, where it's common to work with large datasets and complex statistical analyses. In this blog post, we'll go over some coding standards that you should follow when writing R code to ensure that your code is easy to read and maintain . Indenting One of the most important coding standards to follow is to use consistent indenting. Indenting makes your code more readable by visually indicating the structure of your code. In R programming, it's common to use two spaces for each level of indentation. For example: if (x > y) {   z <- x + y } else {   z <- x - y } Column Margins Another important coding standard is to use consistent column margins. This means that you should avoid writing code that extends beyond a certain number of characters (often 80 or 100). Th...