[R] Reading large files with R
Martin Møller Skarbiniks Pedersen
tr@xp|@yer @end|ng |rom gm@||@com
Sun Sep 1 21:06:01 CEST 2019
Hi,
I am trying to read yaml-file which is not so large (7 GB) and I have
plenty of memory.
However I get this error:
$ R --version
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
library(yaml)
keys <- read_yaml("/data/gpg/gpg-keys.yaml")
Error in paste(readLines(file), collapse = "\n") :
result would exceed 2^31-1 bytes
2^31-1 is only 2GB.
Please advise,
Regards
Martin
[[alternative HTML version deleted]]
More information about the R-help
mailing list