this tutorial is gonna explain to you
what R and R studio R. There were a lot of Rs
in that sentence.I'm also going to run
through how to install these pieces of
software on your own computer. So, what  are R and R studio, well
R is a piece of free software and its
main aim is for doing statistical
computing so in other words it's a piece
of software for doing statistics. Now, R
comes with a price which is that it has
an interface like this and there's a
good reason why R is called R and that
is because when you see that interface
you go argh, but you can make life better
in one of two ways.
The first way is you can pretend that
you're a pirate, and I've borrowed my
son's pirate hat and foam Cutlass, and
then you can go Rrrrr and that makes
everything a lot better. The other thing
you can do is to install something
called R studio which is another piece
of software that sits on top of our and
takes the pain away. Well, it takes some of the pain away.
You can think of this a bit like a car
in that R is the engine that does all
the hard work but, you know, if you wanted to go on a journey
you'd never just sit on the engine or
look at the engine or have anything
directly to do the engine if you have
any sense.
Instead, you sit in the nice cockpit of
the car in a comfy seat with a nice
little stereo and nice songs playing
and, you know, you drive yourself along. So,
R studio is like the comfy cockpit of
a car and R is like the greasy oily
engine that's doing all the hard work.
Once you've installed R and R
studio you can basically forget about
R and just use R studio.
Just to recap, R is free software
for doing statistics, R studio is an
interface for R that kind of sits on
top of it and
essentially enhances it with lots of fun
things and makes it generally more
pleasant to use. To get all this
working you first need to install R
and to do that you go to the R project
website which is www.r-project.org. Let's have a look at that website. Once you have accessed that website it should look something like this
well, it will be vaguely similar. You
want to go to the left-hand menus and
click under download where it says CRAN
and that takes you to a page there's a
rather horrible list of places that you
can download R from and if that looks
frightening
just remember pirates Rrrrr
everything's fine again. You can click on
any of those you may as well click on
the top one and that takes to another
page with three links in the top section
One to download are for Linux which
probably most of you don't use, one
download R for Mac and one to download
R for Windows. Let's assume like me
you're a Mac user then you would click
on the link that says download R for mac
and again another texty page that
doesn't make it in any way obvious what
you should click on, and that's why I'm
doing this video. You want to look at the
section latest releases and you'll see a
link here says R three point six point
one dot PKG now the version number will
change if you're viewing this video in
the future it may not say R three
point six point one but it will have a
similar format so it will say R,  a
version number an important thing is the
dot PKG that stands for package and
that's the installation package for mac
so you click on that link and you get
dialog box that says you want to open
the file and install it you know don't
directly or do you want to save a file.
If you save the file, make a note of
where you save it and then go and find
it and double click on it and that will
open a standard installation procedure
which I'm going to assume you're
familiar with. Otherwise you can just
directly open it from here and again it
will run you through a direct
installation. So that's the Mac, I'm going
to cancel that because I already have it
installed. Let's go back to the previous
page. Now, if you're a Windows user then
you want to click on the link that says
download R for Windows now takes you to
a page which again not obvious what you
should click on but notice there's a
little highlighted thing here it says
install R for the first time click on
that link. Then that takes you to
another page again it will say the
version number which may be different by
the time you install this but the key
thing is you want the top link here it
says download R then a version number in
this case three point six point one for
Windows. Click on that and same as for a
Mac it will throw up a dialog box you
can either save the file or I think in
Windows it will download it sometimes in
your web browser and you can open it
from your download folder and you know
once once that executable file is up and
running it will just run you through a
standard installation procedure. If you
have any problems remember we have helpdesks and you can come and bring your
laptops, ask us stuff, bring a pirate hat and sword
for extra bonus points and, yeah, there
you go,
start using R. Rrrrrrrr ....
