I am trying to import a large xlsx file into R that has many sheets of data. I was attempting to do this through XLConnect
, but java memory problems (such as those described in this thread have prevented this technique from being successful.)
Instead, I am trying to use the openxlsx
package, which I have read works much faster and avoids Java altogether. But is there a way to use its read.xlsx
function within a loop to read in all of the sheets into separate dataframes? The technique I was using with the other package is no longer valid bc commands like loadWorkbook()
and getSheets()
can no longer be used.
Thank you for your help.