These are the scripts needed for the final assignment of the R course, via email I have added a link to dropbox with a zip with 2 folders;  a folder with again all the scripts, and a folder with the Geotiff images created. So the downloading script does not have to be run anymore.
This is the zip with all the images, and the scripts used in the Scripting assignment