I am using the “foreign” package to read in a large dbf file:
library(foreign)
indata = read.dbf("filepath/filename.dbf")
The problem is that this is reading in all the variable as factors. The usual read.table command has the “stringsAsFactors = F” argument to mitigate this. Is there any equivalent for reading in dbf files?
Yes, it is bundled into “as.is”, see help(read.dbf)
For example: