Skip to content
Prev 18778 / 29559 Next

Using gDistance under Linux causes R crash.

To test whether GEOS and rgeos are installed correctly, run:

library(rgeos)
library(testthat)
set_do_poly_check(FALSE)
test_package("rgeos")
set_do_poly_check(TRUE)

--
Roger Bivand
NHH Norwegian School of Economics
Helleveien 30, 5045 Bergen, Norway
Roger.Bivand at nhh.no


________________________________________
Fra: r-sig-geo-bounces at r-project.org [r-sig-geo-bounces at r-project.org] på vegne av Roger Bivand [Roger.Bivand at nhh.no]
Sendt: 9. juli 2013 7:57
Til: Ferdinand Bersse
Kopi: r-sig-geo at r-project.org
Emne: Re: [R-sig-Geo] Using gDistance under Linux causes R crash.
On Tue, 9 Jul 2013, Ferdinand Bersse wrote:

            
You should always provide a reproducible example of claims of crashing R.
There is no way anyone can advise you if you do not do this, because
guesswork is no help. Please also see the posting guide for definitions of
crash - a crash is only when R exits to the shell. You will have to remove
the possibility that rgeos and GEOS are wrongly installed, first by
removing the rpm (I doubt that geos-devel is sufficient) and installing
GEOS from source. Then you must show how your read the shapefile (use
rgdal only), and it will be best if you show your code in relation to a
small shapefile that is available.

Roger
--
Roger Bivand
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo