I tried to load a ~30MB excel spreadsheet into R using the XLConnect package.
This is what I wrote:
wb <- loadWorkbook("largespreadsheet.xlsx")
And after about 15 seconds, I got the following error:
Error: OutOfMemoryError (Java): GC overhead limit exceeded.
Is this a limitation of the XLConnect package or is there a way to tweak my memory settings to allow for larger files?
I appreciate any solutions/tips/advice.
xlsx
andRExcel
. Take a look at this vignette for other resources.<
or>
), or something else causing problems. Of course the package should be able to load the data, but parsing odd formatting is always a bugaboo.