I have a data set that weighs 4GB compressed and more than 20GB uncompressed.
The file can be downloaded here.
I have tried several ways to load it and It have not been possible. There are similar questions in stackoverflow (question1, question2)
I tried what they suggest and I have the same problems that the questioner.
I have tried to change manually the extension of the file from .rar
to .gz
and read it from two ways and only a few rows but it doesn't work:
Code:
#First attemp
data <- read.table(gzfile("./data_in/song_log.gz"),header = F,sep=",",nrow=10)
data <- read.csv(gzfile("./data_in/song_log.gz"),header = F,sep=",",nrow=10)
data <- read.csv2(gzfile("./data_in/song_log.gz"),header = F,sep=",",nrow=10)
#Triying with "ff" package
library("ff")
data <- ff::read.csv.ffdf(gzfile("./data_in/song_log.gz"),header = F,sep=",",nrow=10)
Error in read.table.ffdf(FUN = "read.csv", ...) :
only ffdf objects can be used for appending (and skipping the first.row chunk)
Any suggestion for this case?
Thanks in advance