I want to combine 3 large RDS files into one. Each time I run the code, my Rsession aborts and I get the error message that R encountered a fatal error.
I already tried to clear my global environment and updated all the packages, but it didn't help.
My session info:
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Big Sur 10.16
Matrix products: default
attached base packages:
 stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
 compiler_4.0.3 magrittr_2.0.1 Matrix_1.3-4 tools_4.0.3 fastmatch_1.1-3 Rcpp_1.0.7
 tinytex_0.34 stringi_1.7.5 grid_4.0.3 quanteda_3.1.0 xfun_0.27 stopwords_2.3
 RcppParallel_5.1.4 lattice_0.20-45
The code I want to run:
library(tidyverse) library(dplyr) library(readr) library(purrr) rds_alle_tweets <- (list.files(pattern = "*.rds", full.names = TRUE)) map_dfr( .x = rds_alle_tweets, .f = ~read_rds(.x) %>% mutate_all(as.character))
Did someone encounter a similar problem or has a fix for it?
Thanks in advance!