[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
/SA.basic.analysis.data.csv, header=TRUE) SA@data = data.frame(SA@data, df[match(SA@data$SA_CODE, df$SA_CODE),]) From: Alex Mandel [tech_...@wildintellect.com] Sent: 23 December 2014 16:43 To: James Rooney; r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] readOGR

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

2014-12-23 Thread Michael Sumner
: Alex Mandel [tech_...@wildintellect.com] Sent: 23 December 2014 16:43 To: James Rooney; r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] readOGR problem in Windows 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

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