title: R encountered a fatal error, This session was terminated When using write.xlsx append
body: <p>I try to write a df to an existing excel file by using write.xlsx(df, filename.xlsx, sheetName=123, append=TRUE). After run the code two times, R studio encountered a fatal error, and I have to uninstall Rsudio and reinstall it. But I still have the same problem after re-installation. </p>
  
  <p>If I write the df to a new excel file by write.xlsx(df, name.xlsx, sheetName = 123, col.names = TRUE), the code will be totally fine. No such problem ever. </p>
  
  <p>Anyone can tell me how to solve this problem? I appreciate!</p>