[RS-ecology] GADM shapefiles and R 3.3.0 on a mac

Lewis, Alexandra alexandra.lewis.14 at ucl.ac.uk
Fri Jul 8 11:34:59 CEST 2016


Hello,


I am having problems with GADM shapefiles using the new version of R (3.3.0) on my Mac OS El Capitan V. 10.11.3. I can downloads the files without problem using either of the following methods:


Somalia = readOGR(dsn = "SOM_adm_shp",

                 layer = "SOM_adm2")


Somalia = getData("GADM", country="SOM", level=1)


However, trying to plot them usually causes the system to crash. Occasionally, the system doesn't crash but the shapefile won't plot. It will then appear (very slowly) if I type another command (eg. proj4string(Somalia)). It is basically unworkable. I have no such problems using older versions of R on either a mac or a pc. And I have found some shapefiles that work fine on the system I'm using.


Has anyone else come across this and does anyone have an explanation, or even better a solution?


With much thanks. Alex Lewis (MSc Geospatial Analysis student)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-wuerzburg.de/pipermail/rs-ecology/attachments/20160708/4fe5791c/attachment.html>


More information about the RS-ecology mailing list