Re: [R-sig-Geo] writing shapefiles using write.pointShape

2008-03-16 Thread modern82376
-Original Message- >From: Roger Bivand <[EMAIL PROTECTED]> >Sent: Mar 16, 2008 4:42 AM >To: [EMAIL PROTECTED] >Cc: r-sig-geo@stat.math.ethz.ch >Subject: Re: [R-sig-Geo] writing shapefiles using write.pointShape > >On Thu, 13 Mar 2008, [EMAIL PROTECTED] wrote:

Re: [R-sig-Geo] writing shapefiles using write.pointShape

2008-03-16 Thread Roger Bivand
; -Original Message----- >> From: [EMAIL PROTECTED] >> Sent: Mar 13, 2008 5:10 PM >> To: r-sig-geo@stat.math.ethz.ch >> Subject: [R-sig-Geo] writing shapefiles using write.pointShape >> >> I've been running gwr on some survey data and trying to write output

Re: [R-sig-Geo] writing shapefiles using write.pointShape

2008-03-16 Thread Roger Bivand
On Thu, 13 Mar 2008, [EMAIL PROTECTED] wrote: > I've been running gwr on some survey data and trying to write output > back out to point shapefiles. At first, I thought that the shapefile > wasn't being written, but after calling the file object I found it in a > local settings/temp folder with

[R-sig-Geo] writing shapefiles using write.pointShape

2008-03-15 Thread modern82376
Thank you Jakob. I figured that if I couldn't get the write.pointShape function to work the way I wanted, I'd have to do something like that. I'll keep your code as a backup, since I'd like to automate some processes. Cheers. Gericke Cook USDA APHIS -

[R-sig-Geo] writing shapefiles using write.pointShape

2008-03-15 Thread Jakob Petersen
More a work-around than a solution, but you could export the results data.frame as a csv and then import as an xy in arcmap (then save as a shp). The Columbus example... ## GWR example library(spgwr) data(columbus) main <- columbus main <- cbind(main, region=1:49) main.lm <- lm(crime ~ income

Re: [R-sig-Geo] writing shapefiles using write.pointShape

2008-03-13 Thread modern82376
ke Cook USDA APHIS -Original Message- >From: [EMAIL PROTECTED] >Sent: Mar 13, 2008 5:10 PM >To: r-sig-geo@stat.math.ethz.ch >Subject: [R-sig-Geo] writing shapefiles using write.pointShape > >I've been running gwr on some survey data and trying to write output back o

[R-sig-Geo] writing shapefiles using write.pointShape

2008-03-13 Thread modern82376
I've been running gwr on some survey data and trying to write output back out to point shapefiles. At first, I thought that the shapefile wasn't being written, but after calling the file object I found it in a local settings/temp folder with a random shapefile name. I thought I had specified all