Programming in R

Module code: GY7022

R is a programming language and environment for statistical computing and graphics. R can be used for geographic data visualisation, and we will use R with a particular reference to current geocomputational research and applications.

We will learn how to apply appropriate data types, arrays, lists, control structures, functions and packages within R, as well as incorporate data checking and error handling mechanisms within R programs. You will assess the principles of algorithm construction, and design and construct basic graphical algorithms for the visualisation of spatial information, and integrate programming elements to form a straightforward geoprocessing application.


  • 10 hours of lectures
  • 20 hours of practical classes and workshops
  • 20 hours of tutorials
  • 150 hours of guided independent study


  • Short assignment (40%)
  • Long assignment (60%)