简体   繁体   English

在R中读取大xslx文件

[英]Reading a big xslx file in r

I am trying to read a big excel file with almost 30000 rows and 6000 columns. 我正在尝试读取一个具有将近30000行和6000列的大型excel文件。

I have tested XLConnect and XLSX package, but I get java I/O error: 我已经测试了XLConnectXLSX软件包,但是却收到Java I / O错误:

java.io.IOException: ZIP entry size is too large

How can I read such a big xlsx file in r? 如何在R中读取这么大的xlsx文件?

You can increase the memory available to java in the options (in R). 您可以在选项中(R中)增加Java可用的内存。 Typically like this: 通常是这样的:

options(java.parameters = "-Xmx1000m")
data <- read.xlsx(filepath)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM