search for: dowritedbf

Displaying 2 results from an estimated 2 matches for "dowritedbf".

2013 May 22
1
column width in .dbf files using write.dbf ... to be continued
Hello Arnaud, You posted this question a long long time ago, however I found your answer so I decided to post it anyway in case somebody else have the same problem as you and me. You were actually very close in finding your solution. The function DoWritedbf is an internal function from the foreign package. To access it outside of the package just do: foreign:::DoWritedbf so in your line: invisible(.Call(foreign:::DoWritedbf, as.character(file), dataframe, as.integer(precision), as.integer(scale), as.character(DataTypes))) It is explain here: ht...
2010 Jan 13
1
column width in .dbf files using write.dbf ... to be continued
...precision[i] <- min(width, max_nchar) } } else stop("unknown column type in data frame") } if (any(is.na(precision))) stop("NA in precision") if (any(is.na(scale))) stop("NA in scale") invisible(.Call(DoWritedbf, as.character(file), dataframe, as.integer(precision), as.integer(scale), as.character(DataTypes))) } However, when I wanted to use this function ... it does not find the DoWritedbf function that is called in the last lines (a function written in C). Is there a way to temporally replace...