I have Trouble reading in this xlsx file and working with sheet=2 ( "Data") "http://www3.weforum.org/docs/gcr/2015-2016/GCI_Dataset_2006-2015.xlsx"
what i did:
library(readxl)
library(XLConnect)
library("openxlsx")
temp = tempfile(fileext = ".xlsx")
dataURL <- "http://www3.weforum.org/docs/gcr/2015-2016/GCI_Dataset_2006-2015.xlsx"
download.file(dataURL, destfile=temp, mode='wb')
file<- read.xlsx(temp, sheet= 2)
I get the following:
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : java.lang.OutOfMemoryError: GC overhead limit exceeded
Could someone help? Thnx :)
I don't seem to have issues using readxl for this specific file. With the same package I do have issues with specific spreadsheets created by other systems I can't control (the dev is aware of that).
If I run this:
I get the following output:
NOTE: I am using the current version from github 0.1.1.9000 and not the CRAN 0.1.1.