GIS and R - using the raster package