title: Did the write xlsx function in R get updated and how do I use it now?
body: <p>I have an old code that uses the command</p>
  <pre><code>write.xlsx(tablename, &quot;file.xlsx&quot;, asTable=FALSE, row.names=TRUE)
  </code></pre>
  <p>A few months ago, that would write the table to an Excel file with row names, and overwrite when I reran it. Now it writes only one cell in the Excel file and doesn't overwrite.</p>