[R] core dump with point.in.polygon
Jeff D. Hamann
jeff.hamann at forestinformatics.com
Fri Sep 1 04:40:36 CEST 2006
I've been trying to get some code to run on a 64-bit FreeBSD machine running
R : Copyright 2006, The R Foundation for Statistical Computing
Version 2.3.0 (2006-04-24)
ISBN 3-900051-07-0
and keep getting a core dump with the following results:
*** caught segfault ***
address 0x0, cause 'unknown'
Traceback:
1: .Call("R_point_in_polygon_sp", as.numeric(point.x),
as.numeric(point.y), as.numeric(pol.x), as.numeric(pol.y), PACKAGE =
"sp")
2: sp::point.in.polygon(point.x = stems$easting, point.y =
stems$northing, pol.x = get.pts(gpc.plot)[[1]]$x, pol.y =
get.pts(gpc.plot)[[1]]$y)
3: as.logical(sp::point.in.polygon(point.x = stems$easting, point.y =
stems$northing, pol.x = get.pts(gpc.plot)[[1]]$x, pol.y =
get.pts(gpc.plot)[[1]]$y))
4: poi.fp(gpc.perim, plot.grid[i, ], stems, plot.designs[1, ], plot.it =
FALSE)
5: eval.with.vis(expr, envir, enclos)
6: eval.with.vis(ei, envir)
7: source("generate_samples.r")
Not sure what to do now. I've been running this on 2.3 Winxp box just fine
and will continue to do so.
--
Forest Informatics, Inc.
PO Box 1421
Corvallis, Oregon 97339-1421
More information about the R-help
mailing list