[R-sig-Geo] Error using gpclib fuctions
Nikhil Kaza
nikhil.list at gmail.com
Thu Aug 19 13:15:54 CEST 2010
Just issue the command once in the session.
gpclibPermit()
Alternatively, you could wait for the rgeos package.
Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina
nikhil.list at gmail.com
On Aug 19, 2010, at 7:12 AM, Breitbach, Nils wrote:
> Dear Community,
>
> trying to get through the examples from "Applied Spatial Data
> Analysis with R" I got problems with the gpclib package.
>
> The library was loaded correctly:
>
>> library(gpclib)
> General Polygon Clipper Library for R (version 1.5-1)
> Type 'class ? gpc.poly' for help
>
> ... but then when I tried to use the unionSpatialPolygons function I
> recieved the following error message:
>
>> nc90.temp_spndf <- unionSpatialPolygons(nc90_spndf, IDs =
>> paste(nc90_spndf$ST, nc90_spndf$CO, sep="_"))
> Error: isTRUE(gpclibPermitStatus()) is not TRUE
>
> I am aware that GPC is not generally free but free for academic
> research, which is hopefully what I am doing here. Do I have to
> place a licence file somewhere to satisfy the gpclibPermitStatus
> function? Or do I need to install the GPC software in addition to
> the package?
>
> Cheers,
>
> Nils Breitbach
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
More information about the R-sig-Geo
mailing list