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
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
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
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
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
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