Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-08 Thread Dylan Beaudette
On Wednesday 08 October 2008, Roger Bivand wrote: > On Wed, 8 Oct 2008, Dylan Beaudette wrote: > > On Tuesday 07 October 2008, Dylan Beaudette wrote: > >> On Tuesday 07 October 2008, Roger Bivand wrote: > >>> On Mon, 6 Oct 2008, Dylan Beaudette wrote: > Hi, > > I have noticed that sa

Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-08 Thread Roger Bivand
On Wed, 8 Oct 2008, Dylan Beaudette wrote: On Tuesday 07 October 2008, Dylan Beaudette wrote: On Tuesday 07 October 2008, Roger Bivand wrote: On Mon, 6 Oct 2008, Dylan Beaudette wrote: Hi, I have noticed that saving data to files that include a DBF, result in bogus data where there were NA.

Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-08 Thread Dylan Beaudette
On Tuesday 07 October 2008, Dylan Beaudette wrote: > On Tuesday 07 October 2008, Roger Bivand wrote: > > On Mon, 6 Oct 2008, Dylan Beaudette wrote: > > > Hi, > > > > > > I have noticed that saving data to files that include a DBF, result in > > > bogus data where there were NA. Using the write.dbf(

Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-07 Thread Dylan Beaudette
On Tuesday 07 October 2008, Roger Bivand wrote: > On Mon, 6 Oct 2008, Dylan Beaudette wrote: > > Hi, > > > > I have noticed that saving data to files that include a DBF, result in > > bogus data where there were NA. Using the write.dbf() function from > > the foreign package seems to work a little

Re: [R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-07 Thread Roger Bivand
On Mon, 6 Oct 2008, Dylan Beaudette wrote: Hi, I have noticed that saving data to files that include a DBF, result in bogus data where there were NA. Using the write.dbf() function from the foreign package seems to work a little better, but I still get odd results in numeric columns. Writing to

[R-sig-Geo] writing shapefiles / DBF files when input data contains NA

2008-10-06 Thread Dylan Beaudette
Hi, I have noticed that saving data to files that include a DBF, result in bogus data where there were NA. Using the write.dbf() function from the foreign package seems to work a little better, but I still get odd results in numeric columns. Writing to GRASS with the methods in the spgrass6 packag