1.2 Software employed
The software we will employ in this course is available in all UC3M computer labs, including INF-15.S.04, INF-15.S.06 and INF-10.0.29
(the first week only in INF-15.S.04). We will use two pieces of software:
R. A free open-source software environment for statistical computing and graphics. Virtually all the statistical methods you can think of are available in
R. Currently, it is the dominant statistical software (at least among statisticians).
R Commander. A Graphical User Interface (GUI) designed to make
Raccessible to non-specialists through friendly menus. Essentially, it translates simple menu instructions into
The only thing you need to do to run
R Commander in any UC3M computer is:
'Start' -> 'R3.3.1' -> 'R3.3.1 (consola)'. A black console will open. Do not panic!
Congratulations on your first piece of
Rcode, you have just loaded a package!
Rcmdris installed, then
R Commanderwill open automatically and you are ready to go. In case you accidentally close
R Commander, type
Rcmdris not installed, then type
install.packages("Rcmdr", dep = TRUE)
'Yes'to the next pop-ups regarding the installation of the personal library. This will download and install
Rcmdrand all the related packages from a CRAN mirror (
'Spain (A Coruña) [https]', usually works fine – try a different one if you experience problems). Wait for the downloading and installation of the packages. When it is done, just type
and you are ready to go.
An important warning about UC3M computer labs:
Every file you save locally (including installed packages) will be wiped out after you close your session. So be sure to save your valuable files at the end of the lesson.
The exception is the folder
‘C:/TEMP’, where all the files you save will be accessible for everyone that logs in the computer!
In UC3M computers,
R Commander are only available in Spanish. To have them in English, you need to do a workaround:
- Create a shotcut to
Rin your desktop. To do so, go to
'C:/Archivos de programa/R/R-3.3.1/bin/', right-click in‘R.exe’
and choose‘Enviar a’ -> ‘Escritorio (crear acceso directo)’`.
- Modify the properties of the shortcut. Right-click on the shortcut and choose
'Propiedades'. Then append to the
'Destino'field the text
Language=en(separated by a space, see Figure 1.1). Click
- Run that shortcut and then type
'C:/TEMP', it could be available the next time you log in.
Alternatively, you can bring your own laptop and save all your files in it, see Section 1.4.