Skip to content
Prev 351124 / 398502 Next

Heatmap

Hi Carlos,
The error from:

readShapePoly("depto.shp")

may well be that the function cannot find the file. Assuming that
there is a file "depto.shp", is it in the working directory of R when
you issue this command? Find out by:

getwd()

I suppose that macintosh computers try to hide the actual location of
files, so you may have to hunt around to find where the file resides
and whether you will have to add a path to your call. The second error
probably stems from the first, as if the file hasn't been read, the
information in it cannot be extracted.

Jim
On Sat, May 23, 2015 at 7:07 AM, David Winsemius <dwinsemius at comcast.net> wrote: