[R-sig-Geo] issue with readOGR

Abdoulaye Sarr @bdou|@ye@@r @end|ng |rom gm@||@com
Fri Nov 8 17:47:49 CET 2019


I am trying to read a shapefile using readOGR but keep getting error
messages:
map =
readOGR(dsn=path.expand("/Volumes/DS2S/R_QGIS_codes//Data"),"indicator")
Error in ogrInfo(dsn = dsn, layer = layer, encoding = encoding, use_iconv =
use_iconv,  :
  Cannot open layer

What could be causing the problem? sp 1.3-2

Thanks
as

	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list