I am importing a large dataset and occasionally, either when importing or data manipulating, I will receive a segfault about the memory. Sometimes I don't get the error, and sometimes I do. Here is an example of the error I receive when I try to download the data:
*** caught segfault ***
address 0x5feb575d0a08, cause 'memory not mapped'
Traceback:
1: scan(file = file, what = what, sep = sep, quote = quote, dec = dec, nmax = nrows, skip = 0, na.strings = na.strings, quiet = TRUE, fill = fill, strip.white = strip.white, blank.lines.skip = blank.lines.skip, multi.line = FALSE, comment.char = comment.char, allowEscapes = allowEscapes, flush = flush, encoding = encoding, skipNul = skipNul)
2: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)
3: read.csv("Historical_DOB_Permit_Issuance.csv")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Even if the data import is successful, I get a similar error when I try to merge the dataset with another dataset. Obviously it's a memory issue, but I'm not sure how to deal with it. Here is my session info:
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
Can anyone please help?