Hello list,

 

I'm new to GIS in R, so I appreciate any pointers with my problem. 

 

I have code that uses readShapePoly to read in shapefiles in a loop and
does some basic operations. This code appeared to be working great for
twenty or so files, but then on one shapefile bonked with the following
error:   Error in from[j]:to[j] : NA/NaN argument. 

 

The problem shapefile opens fine in ArcGIS and there is nothing readily
different about its attribute table or source information that I can see
(and furthermore, all shapefiles are from the same standardized source,
although of course that doesn't mean one of them didn't get messed up
somewhere along the way). I am running 2.7.2 on Windows XP x64.

 

Thanks in advance,

Allen


	[[alternative HTML version deleted]]

