Skip to content
Prev 371244 / 398530 Next

rgdal error when trying to import raster

Indeed, Ben, but the question was something more like it is not a Dependency, just Suggested, so why the error...

John:

If you read the Introduction to the 'raster' package vignette, it indicates that some input formats are supported within the raster package and some rely on other packages. Clearly the attempt to read a TIFF was an example of the latter. Had you used a different input file format the issue of rgdal might never have appeared... ergo, Suggests rather than Depends. 

Note that someone may feel pity for your plight, John, and give you a convenient alternative way to import the data to raster (there are other packages that read TIFF but you would probably have to roll the geolocation yourself... an avenue for which help would be better pursued on R-sig-geo), but the premise of your email (cannot upgrade) does put it squarely in the off-topic category according to the Posting Guide. Fortunately R is open-source so if you are diligent you can write/borrow R code as needed or even recompile R and necessary packages entirely within your personal development directories with no system installation to bother your sysadmin about... but you might also just go find another computer to do your work on.