[R-sig-Geo] readOGR problem in Windows

2014-12-23 Thread James Rooney
Dear List, I have some code I have developed on a Mac that I'm trying to transfer onto a higher spec windows 8.1 machine and I am running into a problem with the readOGR function in rgdal. My code is below. This works fine under Mac, but under windows readOGR gives me the error: Error in

Re: [R-sig-Geo] readOGR problem in Windows

2014-12-23 Thread Alex Mandel
On 12/23/2014 07:43 AM, James Rooney wrote: Dear List, I have some code I have developed on a Mac that I'm trying to transfer onto a higher spec windows 8.1 machine and I am running into a problem with the readOGR function in rgdal. My code is below. This works fine under Mac, but under

Re: [R-sig-Geo] readOGR problem in Windows

2014-12-23 Thread James Rooney
Hi Alex, Doh! I cut and paste the mac version. The windows version that is not working looks as below. The read.csv's work no problem - but read OGR won't work even with absolute paths. So I think it is not related to directory paths unless readOGR is someone different in this regard. James

Re: [R-sig-Geo] readOGR problem in Windows

2014-12-23 Thread Michael Sumner
Try removing the trailing slash from the dsn path. HTH On Wed, 24 Dec 2014 06:38 James Rooney roone...@tcd.ie wrote: Hi Alex, Doh! I cut and paste the mac version. The windows version that is not working looks as below. The read.csv's work no problem - but read OGR won't work even with

Re: [R-sig-Geo] readOGR problem in Windows

2014-12-23 Thread James Rooney
Fantastic! That fixed it. Thanks much appreciated! James From: Michael Sumner [mdsum...@gmail.com] Sent: 23 December 2014 21:00 To: James Rooney; r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] readOGR problem in Windows Try removing the trailing slash

Re: [R-sig-Geo] about global getis g

2014-12-23 Thread kun17
Thank you Roger, your professional knowledge has rebuilt my confidence in spdep. As to the example, I have a new understanding: when a 'cold spots' was put in the center, the surrounding grids became 'hot spots' relatively, it explained the result when distance was set to 1 unit. The idea of