Displaying 1 result from an estimated 1 matches for "panfielddecim".
2005 Aug 19
1
Summary: Unexpected result of read.dbf
...n.c 2005-08-19 18:54:06.000000000 +0900
+++ foreign/src/dbfopen.c 2005-08-19 18:58:06.000000000 +0900
@@ -970,7 +970,8 @@
|| psDBF->pachFieldType[iField] == 'F' )
/* || psDBF->pachFieldType[iField] == 'D' ) D is Date */
{
- if( psDBF->panFieldDecimals[iField] > 0 )
+ if( psDBF->panFieldDecimals[iField] > 0 ||
+ psDBF->panFieldSize[iField] > 9 )
return( FTDouble );
else
return( FTInteger );
After adopting the patch, read.dbf works correctly.
> cbind(read.csv("test.csv...