Methods@Manchester statistical methodology workshop R, the R-studio and the Rcmdr www.research-training.net/M@M Graeme Hutcheson Manchester Institute of Education University of Manchester
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Lectures on Quantitative methods and statistical modelling Semester One: 1. R, R-studio and the Rcmdr 2. Data Coding and Management 3. Generalized Linear Models 4. Understanding Models using Graphics 5. Categorical explanatory variables 6. Logit models: modelling categorical data Further information and booking forms.... www.research-training.net/M@M www.methods.manchester.ac.uk/events/diary
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
This session aims to... I
introduce R and the user interfaces R-studio and the R-commander.
I
show new users how this software can be installed and run.
I
demonstrate how to identify and install libraries.
I
demonstrate some of what is possible using this analytical system.
The major aim is to... I
get everyone quickly using R
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
This session does not... I
teach the R language.
I
teach R coding.
I
The sessions in this series of presentations use R, but are aimed at postgraduate social scientists and does not assume advanced statistical/computing knowledge.
I
If you want to learn specifically about R, look out for R-specific workshops at the University, or join a group such as Rmanchester (www.Rmanchester.org)...
I
or request specific courses from M@M.
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
R - basic information
I
R is open-source software developed for multiple platforms (Unix, Linux, MacOS X and Windows) under the GPL licence.
I
The open-source environment is essential for the developement and use of statistics and provides advantages and resources that cannot be matched by commercial packages such as SPSS, STATA, S-PLUS, GenSTAT, Minitab and SAS.
I
R is currently the most widely used statistical computing environment. In my view, most researchers will soon be using R either in conjunction with their current software, or as their main analysis package.
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
R is not a niche package...
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
R - benefits I
R can be installed onto your computer, or directly onto a USB drive or CD and run from any computer. You can, therefore, guarantee access to and control over your software and also ‘take it with you’ when you travel. This is becoming essential for those of us who use networked computers.
I
R has a vast number of add-on packages that allow a full range of analytical techniques to be employed.
I
It has a simple and automatic installation and updating system.
I
It has a comprehensive help-system which includes data sets and examples for most packages.
I
It has a huge number of books and papers readily available to buy (look on Amazon.com) or to download for free (look on CRAN, the Comprehensive R Archive Network). Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Installing R
R can be downloaded from CRAN (Comprehensive R Archive Network), which can be accessed from the R home page http://www.r-project.org/
Or, just search for R statistics using a web search engine.
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
The R website:
http://www.r-project.org Follow this link
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Choose an appropriate mirror site and then select an operating system. Select your operating system...
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Then follow the instructions...
These should be straight-forward, but remember to also install the gfortran-x.y.z.dmg and the tcltk-x.y.z-x11.dmg files if you are using MacOS X
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Running R
If you have installed R to your hard drive, then start the programme by clicking on the R icon on the desktop.
Or, if you have installed R onto a USB drive, change to the directory ‘R-3.0.1\bin\i386’ (if you have a 64-bit machine, use the x64 directory) on this drive and double click on the file ‘RGUI.exe’. R will now load and give the R-console window:
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
The R console
Graeme D. Hutcheson
An introduction to R, the R-studio and the Rcmdr
Using the R-console you can load datasets... Dataset