title: R: Writing data frame into excel with large number of rows
body: <p>I have a data frame (panel form) in R with 194498 rows and 7 columns. I want to write it to an Excel file (.xlsx) using function <code>res &lt;- write.xlsx(df, output)</code> but R goes in  the coma (keeps showing stop sign on the top left of console) without making any change in the targeted file(output). Finally shows following:
  <code>Error in .jcheck(silent = FALSE) : 
    Java Exception &lt;no description because toString() failed&gt;.jcall(row[[ir]], "Lorg/apache/poi/ss/usermodel/Cell;", "createCell", as.integer(colIndex[ic] - 1))&lt;S4 object of class "jobjRef"&gt;</code> 
  I have loaded readxl and xlsx packages. Please suggest to fix it. Thanks.</p>