download.file("https://pub.data.gov.bc.ca/datasets/949f2233-9612-4b06-92a9-903e817da659/ems_sample_results_historic_expanded.zip", destfile = "test.zip")
csv_file <- unzip("test.zip")
file.rename(csv_file, "test_storr.csv")
## R version 3.3.1 (2016-06-21)
## Platform: x86_64-w64-mingw32/x64 (64-bit)
## Running under: Windows 7 x64 (build 7601) Service Pack 1
##
## locale:
## [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252
## [3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C
## [5] LC_TIME=English_Canada.1252
##
## attached base packages:
## [1] stats graphics grDevices utils datasets methods base
##
## loaded via a namespace (and not attached):
## [1] magrittr_1.5 formatR_1.4 tools_3.3.1
## [4] htmltools_0.3.5 yaml_2.1.13 Rcpp_0.12.6
## [7] stringi_1.1.1 rmarkdown_1.0.9001 knitr_1.13
## [10] stringr_1.0.0 digest_0.6.9 evaluate_0.9
## Warning in writeBin(value[seq(i, min(j, len))], con): Reached total
## allocation of 24371Mb: see help(memory.size)
## Warning in writeBin(value[seq(i, min(j, len))], con): Reached total
## allocation of 24371Mb: see help(memory.size)
## Warning in writeBin(value[seq(i, min(j, len))], con): Reached total
## allocation of 24371Mb: see help(memory.size)
## Warning in writeBin(value[seq(i, min(j, len))], con): Reached total
## allocation of 24371Mb: see help(memory.size)
## Error: cannot allocate vector of size 8.0 Gb
devtools::install_github("richfitz/storr",
ref = "73505843261c23d092cff82613a0e8c5bd6f9d1f", quiet = TRUE)
library(storr)
packageVersion("storr")