1.1 - Introducing R
1.1 - Introducing R
What is R?
R is a free, open-source software that is one of the most popular platforms for
data analysis and visualization that is available today.
Although there exists a wide range of statistical and graphing packages, such as
Microsoft Excel, SPSS, SAS, and Minitab, among others, R is recommended
because of the many features that it possesses:
R is free! They say that the best things in life are free, so there you go.
www.cran.r-project.org
Once you are at the CRAN site, you will be asked to select a mirror site from a list.
Select one that is relatively near your location. A mirror site is, roughly, a server
that contains a duplicate set of files as the one available at the central CRAN site,
thus sharing the responsibility to ensure rapid distribution of data when there is
a heavy demand.
Once this is done, you will get a window that looks like the one shown below.
Click on the link for your operating system, and follow the instructions for your
platform. You will now see a window like the one below (For Windows).
Click on ‘Install R for the first time,’ then click on ‘Download’ in the window like
the one shown below.
You download the base product, called base R, directly to your device and then
run the setup program with a name like R.exe (for a PC), or R.dmg (for a Mac).
Click ' Run ' when asked whether you want to ‘Run’ or ‘Save’ the file. It is all
automatic from there ‒ just follow the Wizard. After installation, simply click on
the R icon to begin using R.
Install Rtools
This addition is necessary, especially if you want to use packages that export
Excel workbooks (most of them do).
You can later extend R’s functionality by downloading optional modules called
packages (also from CRAN). World-wide sources freely contribute to the
packages.
GUIs