Introduction to R Course
Semester 1 2018/2019

Department of Statistics

School of Mathematics
University of Leeds

Format of the course
This webpage contains material for the Introduction to R Course. The format of this course is as follows. There will be no lecture where we present the material. Instead, we will only give a brief presentation to point out some important information and features, and you will do most of the work by inferring the examples that have been laid out for you. In some topics where it would be appropriate to show you something on the computer screen, we have made some videos that are accessible from youtube. This way, you can rerun the video if you miss few bits of the illustration.

Time and Venue

Friday 28th September, 10am - 12noon (Chem Eng cluster)

Monday 1st October, 11am-1pm

Friday 5th October, 10am-12noon

Monday 8th October, 11am-1pm

Friday 12th October, 10am-12noon

The venue will be in the Cohen A and B cluster on Mondays (1 and 8 Oct) and in the EC Stoner cluster (6.68) on Fridays (5 and 12 Oct).

What is covered?
This course is designed to introduce the basics of R to students who are not familiar with R yet. So, we do not cover some 'specialised' analysis, but rather cover the basics and hopefully get them right. The topics covered are outlined in this document. (Intro here)

Examples and Exercises (Assessment)
(See also some notes at the end of this section)
The way you will learn is by understanding what is going on in each of the examples that we outlined for you, both in the videos and example & exercise sheet.

The main document for examples and exercises are available here:

Example and Exercises

Please find the relevant videos in the following link:

(Make sure you have plugged in your earphones to your computer to avoid making noise in the whole cluster)

Downloading and installing R
Open and close R, with access to help
Input and output

Important! It is very important that you run the examples one line at the time and understand what they do. There is potentially a difference between what you think R is doing and what it is actually doing based on the R codes. So, do not skip some of the lines.

Regarding assessment, you will need to answer some exercises that we outlined for you in the above document. Important! Do not skip the exercises. Try to answer the exercises and ask your tutor to confirm whether you have done it correctly or not.

Additional learning resources
Handout of introduction to R lecture (you have been given the printed copies of this document)
School of Mathematics computing documentation (including some further useful links)

Some useful links
R project website
Searchable archives of R help mailing lists
The university library Example of search results: The R Book, Discovering Statistics Using R, and many others. Find the book that suits your way of learning.