title: R converting dbf files to excel files xls
body: <p>I can trying to read in all the dbf files in a folder and convert them excel files. below is the code i am working with. Any help would be greatly appreciated. </p>
  
  <pre><code>library(foreign)
  library (rio)
  files &lt;- list.files(path="C:\\Users\\tichamb\\Desktop\\New folder", pattern="*.dbf", full.names=T, recursive=FALSE)
  for (files in "C:\\Users\\tichamb\\Desktop\\New folder")
    read.dbf(1001001, dbf)
    import (1001001, dbf)
    convert (1001001.dbf,"1001001.xls)
  </code></pre>
  
  <p>Thanks</p>