[R] GPCLIB Segfaults

Scott Fortmann-Roe scottfr at berkeley.edu
Sun Oct 3 18:54:42 CEST 2010


Hi,

GPCLIB will on rare occasions segfault on me. For example, attempting to
union the two attached polygons will always segfault. This is on OS X.

Does anyone else have this problem or know how to fix it?

-Scott

Poly 1:

[[1]]$x
 [1]  1.99917662  1.96950743  1.91320263  1.89742912  7.25288526  8.24146922
 [7]  1.64772929  0.91502421 -1.03937798  0.06113105 -0.89445414 -3.59680448
[13] -3.61199049  1.54124461

[[1]]$y
 [1]  7.4222754  5.3315017  1.8361718  1.8465662 -1.6825414 -2.4381155
-5.8159161
 [8] -5.3739624 -0.8106083  1.5137002  1.8257775  4.3562953  5.2871664
 7.5700518

[[1]]$hole
[1] FALSE


Poly2:

[[1]]
[[1]]$x
         8          5         97         89         96         73
84
 1.6477293  0.9150242 -1.0393780  0.5971623  1.3536103  7.2528853
 8.2414692

[[1]]$y
         8          5         97         89         96         73
84
-5.8159161 -5.3739624 -0.8106083  1.6578244  2.2049287 -1.6825414
-2.4381155

[[1]]$hole
[1] FALSE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-10-03 at 9.50.33 AM.png
Type: image/png
Size: 28573 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101003/1c54dd0b/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen shot 2010-10-03 at 9.50.43 AM.png
Type: image/png
Size: 27618 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101003/1c54dd0b/attachment-0001.png>


More information about the R-help mailing list