i was trying to write new data frame in R using Write.xlsx.
i have 572988 rows and 25 column
i get this error:
Error in .jcheck(silent = FALSE) :
Java Exception <no description because toString() failed>.jcall(row[[ir]], "Lorg/apache/poi/ss/usermodel/Cell;", "createCell", as.integer(colIndex[ic] - 1))new("jobjRef", jobj = <pointer: 0x127f6dcb0>, jclass = "java/lang/OutOfMemoryError")
RStudio Version 1.1.453
MacBook Pro 2015
Version 10.14
Processor 2.2 core i7