title: xlsx package saveWorkbook function
body: <p>I have a data frame and I am using the below code</p>
  
  <pre><code>wb &lt;- createWorkbook(type = "xlsx")
  sheet1 &lt;- createSheet(wb, sheetName = "sheet1")
  addDataFrame(df, sheet1, col.names = TRUE, row.names = FALSE, startRow = 1)
  saveWorkbook(wb, file = "filename.xlsx")
  </code></pre>
  
  <p>I have already set the directory through R studio so need not to mention it explicitly.
  I have gone through the documentation of write.xlsx which give an error commonly found on the web.
  The issue is when I download and pen the workbook I see the data like this</p>
  
  <pre><code>Column1 Column2 Column3 Column4 Column5 Column6
  c(value1,value2,……) c(value1,value2,……) c(value1,value2,……) c(value1,value2,……) c(value1,value2,……) c(value1,value2,……)
  </code></pre>
  
  <p>I only find two rows, first row gives the column names and second row has all values of respective column in vector format (i.e. enclosed in c()). I do not want to row.names = TRUE as it would create an extra column with the row numbers.</p>
  
  <p>same problem happens with write.xlsx2 function
  Any help would be much appreciated.</p>