spTransform() from the sp package was working me until recently but as of
the past couple of weeks, it is giving me the following error. I assume it
is because I have recently updated to R 3.0.0:

Error in spTransform(wrld_simpl[1, ], CRS("+init=epsg:4326")) : error in
evaluating the argument 'CRSobj' in selecting a method for function
'spTransform': Error in CRS("+init=epsg:4326") : no system list, errno: 2

The error is produced after running code like this:

library(sp)
library(maptools)
data(wrld_simpl)
spTransform(wrld_simpl[1,], CRS("+init=epsg:4326²))

I have posted on the r-sig-geo group, and apparently the error is caused by
having no proj (or gdal) data files available.

I have tried following the guidelines provided here, but rgdal continues to
give the same error:
https://sites.google.com/site/eospansite/rspatial_gis/rgdalmac

I¹m on a Macbook Pro running OS X 10.8.2

How can I get spTransform() working again?

Thanks
Ross







        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to