Skip to main content
Search form
  • 00:01

    MATT DENNY: Hi, everyone.This is your instructor, Matt Denny,and welcome to this lecture on installing RStudio.So RStudio is an integrated development environment.And what that means is it's a layer thatsits on top of the base version of R,the base R console, that thing we opened when we downloaded Rto make sure that it installed.

  • 00:22

    MATT DENNY [continued]: And it provides a whole lot of extra functionalityfrom having multiple panes in the same window,so you can be editing an RScript and then actually running it,but also other things, like providing displaysof help files, and also letting yousee the variables that you've created in R actually visually,which can be really, really helpful.

  • 00:43

    MATT DENNY [continued]: Something that base R does not offer.So this is going to be a short video.We're just going to go through installing it, downloadingand installing RStudio.I'm going to cover this for--it should work basically for Windows, Mac, and most Linuxdistributions.There are some more unusual Linux distributions

  • 01:04

    MATT DENNY [continued]: that this won't work for.So for example, some versions of CentOS or Red Hat EnterpriseLinux actually are a bit touchy, and youmay have to do some searching on the internet for howto install various patches.They're issues with the operating system,not with RStudio.They're trying their best to make it available to everyone.

  • 01:25

    MATT DENNY [continued]: But I'm assuming that if you're runningone of these weirder Linux distributions,you're going to be willing to deal with those issues.But for most users, especially for Windows and Mac users,the process should be pretty tame.So you can either follow this download linkor we can just go through Google,which is what I'm going to do.So I'm going to head over to my desktop

  • 01:46

    MATT DENNY [continued]: and we're going to walk through this quickly.OK, so I'm on my desktop.I'm going to open up Google Chrome,and I'm going to type in RStudio, all one word,R-S-T-U-D-I-O, and hit Enter.OK, so the first thing that should pop upis this link to RStudio, open source

  • 02:08

    MATT DENNY [continued]: and enterprise-ready professional software for R.That sounds so nice.So we're going to click on this link,and it's going to take us to this reallypretty slick website.So RStudio is a company.They are a for-profit company.They produce this RStudio software,

  • 02:28

    MATT DENNY [continued]: but they make their money by actually providing support,particularly to Enterprise users, for using R and RStudio.There's Hadley Wickham over here, this guy.He's sort of like the messiah of the R community,it seems, at least.There's some pretty crazy Hadley Wickham fans out there.

  • 02:50

    MATT DENNY [continued]: He's also the chief scientist at RStudio.He's produced like 100 R packages.It's crazy.These are things that create add-on functionality for R.And so RStudio, despite it being a for-profit company,all of the core stuff that we care about,particularly the RStudio program itself,

  • 03:12

    MATT DENNY [continued]: is free and open source as long as you're not using itin commercial applications.So they do sell commercial licenses,and those can be pretty expensive dependingon the size of the enterprise.But for most users, especially if you'rean academic or research-oriented user,

  • 03:32

    MATT DENNY [continued]: RStudio is and will always be free.OK, so we're going to click on this little downloadlink over here.That's what we want to do to download RStudio.And it's going to take us to this screen.And again, as you can see up at the top here,it's going to list some pretty high prices, dependingon the kind of service that you want.So a commercial license starts at 1,000 bucks a year,

  • 03:55

    MATT DENNY [continued]: and can go up to 30,000 plus dollars a year.But what we care about is the RStudio desktopopen source license.So this is for research, and so this is the one that you'regoing to want to click on for personal use, anythinglike that.Just to note, there's also an RStudio server.

  • 04:17

    MATT DENNY [continued]: So RStudio server is a way of running the same program,but doing so through a web browser.And this can be really helpful if youhave a really terrible laptop.So what you can do is you can set upRStudio server on your desktop, or some serverat your university, or where you wherever you work,and then you can actually access the program via the internet.

  • 04:39

    MATT DENNY [continued]: So this can be really helpful if you're traveling.It's a nice graphical user interfaceway of being able to access RStudio on a beefier computerthrough the internet.So that can be pretty nice.But we just want to install the most basic versionof RStudio desktop.So we're going to scroll down hereand we're going to click on the Download link.

  • 05:00

    MATT DENNY [continued]: And what that will do is that will take usto a whole bunch of different installers.So what we care about are these installers here,a whole bunch of different installersfor various operating systems.So this covers Ubuntu, Fedora, Red Hat, Mac OS X,and Windows Vista, 7, 8, 10.So if you're on a Windows machine,

  • 05:22

    MATT DENNY [continued]: you're going to want to click this download link.I'm recording this on a Mac, so I'mgoing to click on the Mac download link.And it's between 70 and 90 megabytes,depending on the operating system.So let's click on this.If you are interested in the actual sourcecode for this program, the zip tar archives

  • 05:45

    MATT DENNY [continued]: will contain the source code.So you can actually look at it, because thisis open source software.But what we care about, we just want the installer.That's going to make our life much, much easier.Remember, you want to have R installed firstbefore you install RStudio.Otherwise, it won't actually do anything for you.But once you have R installed, which

  • 06:05

    MATT DENNY [continued]: I'm assuming you do have by now, you'regoing to want to click on this appropriate downloadlink for your operating system.So I'm going to click on this.I'm going to save this to my desktop.It's going to take a minute to download.And then we're going to go through quicklythrough the install options, and we'll call this video done.

  • 06:32

    MATT DENNY [continued]: So RStudio has completed downloading.Now we're going to go over and justgo quickly over installing it.So installing RStudio is actuallya lot easier than installing base R, at least on a Mac.So you're going to want to double click on the DMGfile, the disk image.And it's going to pull up this little window.All you need to do is drag and drop the RStudio icon

  • 06:55

    MATT DENNY [continued]: into the applications folder.So on a Mac, you're just going to want to click Replace.So I'm clicking replace because I alreadyhave RStudio installed.But it's just going to copy the file over.The file will be between 400 and 500 megabytes, dependingon your operating system.And then you're all set.On Windows, it should give you an actual proper installer,but the directions, again, should be pretty simple.

  • 07:16

    MATT DENNY [continued]: You're basically just going to install RStudio,and you're good to go.OK, thanks for watching this lecture.And in the next lecture, we're goingto go over how to actually use RStudio,how to set it up to do work.So see you in the next lecture.

Video Info

Series Name: Practical Data Management with R

Episode: 4

Publisher: SAGE Publications Ltd

Publication Year: 2017

Video Type:Tutorial

Methods: Data management, RStudio, R statistical package, Programming

Keywords: computer programs; computer software selection; Linux; programming languages

Segment Info

Segment Num.: 1

Persons Discussed:

Events Discussed:



Matt Denny explains how to find, download, and install RStudio on Linux, Mac, and Windows operating systems.

Looks like you do not have access to this content.

Introduction to RStudio: Downloading and Installing RStudio

Matt Denny explains how to find, download, and install RStudio on Linux, Mac, and Windows operating systems.

Copy and paste the following HTML into your website