Skip to content
Prev 68302 / 398503 Next

R closes unexpectedly with write.dbf()

On Thu, 21 Apr 2005, Robin Schroeder wrote:

            
Please state the version of the foreign library you are using, update
foreign to 0.8-7, and try again. There were two bugs in write.dbf() up to
0.8-5, one when a column of the data frame was all 0 and the other when a
column was all NA. Also please do summary(union$wu_fract) - I suspect it
is either all 0 or NA. 0.8-7 guards against both of these problems, which
are in code trying to work out the appropriate width of the output DBF
fields.