Reading data from Excel file in r

前端 未结 1 1992
慢半拍i
慢半拍i 2020-12-22 00:48

I want to read data from a big excel file like this:

From the fifth column, from first row until 140, but only 1,3,5,7,.....139 (only 70 values):

wb          


        
相关标签:
1条回答
  • 2020-12-22 00:53

    The vignette on XlConnect suggests

    options(java.parameters = "-Xmx2048m")
    

    before loading the XlConnect package.

    EDIT: You could try to reduce the size of the xlsx, maybe delete unneeded columns. You could save the sheet as CSV. You could use RODBC, as @Ananta suggested.

    0 讨论(0)
提交回复
热议问题