title: Error in write.table
body: <pre><code> for(i in 1:4){
       write.table(x, file=cat("C:\\Users\\Desktop\\example_",i,sep=""),row.names=FALSE)}
  </code></pre>
  
  <blockquote>
    <p>Error in if (file == "") file &lt;- stdout() else if (is.character(file)) { : 
      argument is of length zero</p>
  </blockquote>
  
  <p>How can I solve this error?? What are the differences between <code>write.table</code>, <code>write.csv</code> and <code>write.csv2</code> ??</p>