title: write.table in R generates an empty file
body: <p>I have a data frame in an object with large number of rows and columns. I wish to write it in a file, so I do this,</p>
  
  <pre><code>&gt; write.table(object, file="file.txt")
  </code></pre>
  
  <p>But I don't know for what reason this is giving me an empty file. I thought may be because write.table does not handle such large data (800 columns and 450,000 rows). So I tried the following.</p>
  
  <pre><code>&gt; write.table(object[1:4,1:5], file="file.txt")
  </code></pre>
  
  <p>But I still get an empty file. I checked my object. It does contain all the data i need. </p>
  
  <p>Can anyone help me know why I may be getting an empty file? Is there any other way to get my object data into a file?</p>