Installing R in Windows
Ashu Guru
Author
03/13/2019
Added
328
Plays
Description
Installing R in Windows
Searchable Transcript
Toggle between list and paragraph view.
- [00:00:00.240]Hello in this quick tutorial we will first look into how do we install R on
- [00:00:06.043]our desktop and then we will also look into how do we install a program called
- [00:00:12.076]as R Studio which works with R and makes writing the R scripts much more easier
- [00:00:18.185]for us.
- [00:00:19.120]So without any further delay, let's take a look.
- [00:00:22.560]In order to install R, we will go to a website on our favorite
- [00:00:28.401]browser and we'll go to www. rminusprojectorg.
- [00:00:33.320]And then we can click on the CRAN link on the left side,
- [00:00:37.217]which says download packages.
- [00:00:39.600]And it actually takes us to a list of mirrors.
- [00:00:43.080]And I'm going to go down to USA and pick up the Berkeley Edu.
- [00:00:48.480]And since I am going to install R on my Windows machine,
- [00:00:53.285]I will click download R for Windows.
- [00:00:56.400]I will pick up the base install and once I click on that I go to download R 3.
- [00:01:05.347]0 point 2 for Windows and I will save as I'll save it on my desktop save and it is
- [00:01:14.747]downloading now.
- [00:01:17.200]So I have R downloaded completely on my desktop.
- [00:01:19.640]Here I'm going to double click and it says the publisher could not be verified.
- [00:01:25.640]I sure you want to run the software.
- [00:01:27.440]I'm saying yes and it is a User Account Control and I want it in English Next
- [00:01:44.262]next next next and I'm going to do make an default install and it will be many
- [00:02:01.300]folders of R and next we have finish.
- [00:02:10.000]So now since I did select to have a desktop desktop icon for R,
- [00:02:16.893]I'm going to start with RX64 and this is the default window that you see while in
- [00:02:25.725]order to interact with R So if I say 2 + 3, it gives me 5.
- [00:02:32.080]This basically shows that my R install works fine.
- [00:02:36.120]However, in order for us to make our workspace
- [00:02:39.496]more useful and more easier to interact with,
- [00:02:42.801]we will install another software as I mentioned in the beginning of the
- [00:02:47.974]tutorial and which is called as R Studio.
- [00:02:50.920]So for now, I'm going to close this window and it's
- [00:02:53.934]going to ask me save workspace image.
- [00:02:56.120]I'm going to say no and I'll go back to my browser and go to a website called www.
- [00:03:03.746]rstudio. com and I will this is the website how it
- [00:03:08.432]looks like and I will go to R Studio IDE.
- [00:03:12.240]IDE means integrated development environment and I'm going to say download
- [00:03:19.440]R Studio and click again.
- [00:03:22.520]And now the website was able to detect that I'm using a Windows machine for my
- [00:03:30.022]desktop and they recommend a Windows XP version of Vista or 7 or 8.
- [00:03:36.880]And I'm going to download this one save link as on the desktop and save and it's
- [00:03:46.739]downloading.
- [00:03:51.880]Once the download is complete, I'm going to install the Rstudio as well.
- [00:03:58.040]So Rstudio, same steps, next finish.
- [00:04:08.680]And now I have in all programs.
- [00:04:12.480]I have R Studio and I will launch R Studio and here we go.
- [00:04:18.600]So we have the same R console but it is now part of a bigger development
- [00:04:23.892]environment and I can start a new file.
- [00:04:27.520]So file new R script and I get an area and if I say 2 + 3 and I say run.
- [00:04:38.120]So it actually copies this statement that I wrote here and runs it in my R console
- [00:04:43.900]and gives me the result as 5.
- [00:04:46.400]So that's all for now.
- [00:04:48.920]And the goal for this short tutorial was to just get you started and make sure
- [00:04:54.049]that we have R installed on our desktop, in this case the Windows machine.
- [00:04:59.240]And in order to do that, what we did is we first install the R
- [00:05:03.929]distribution or the R software and then after R has been installed,
- [00:05:08.990]we install a studio on top of it, which is a development environment which
- [00:05:14.573]makes life easier for us to work with R and it is called R Studio.
- [00:05:20.360]Thank you so much.
The screen size you are trying to search captions on is too small!
You can always jump over to MediaHub and check it out there.
Log in to post comments
Embed
Copy the following code into your page
HTML
<div style="padding-top: 56.25%; overflow: hidden; position:relative; -webkit-box-flex: 1; flex-grow: 1;"> <iframe style="bottom: 0; left: 0; position: absolute; right: 0; top: 0; border: 0; height: 100%; width: 100%;" src="https://mediahub.unl.edu/media/10786?format=iframe&autoplay=0" title="Video Player: Installing R in Windows" allowfullscreen ></iframe> </div>
Comments
0 Comments