Fix bug - need to export raster and rgdal as well.