RDS and RDA

Comparing write_rds(), save(), and saveRDS()

January 26, 2020

Method

Writing time

Reading time

File size

write_rds(compress = "gz") +read_rds()

1.109 mins

39.81 secs

330.6 mb

write_rds() + read_rds()

30 secs

Error: cannot allocate vector of size 12.1 Mb

3GB

saveRDS()+readRDS()

1.12 mins

Error: cannot allocate vector of size 12.1 Mb

330.6 mb

save() + load()

1.11 mins

Error: cannot allocate vector of size 12.1 Mb

330.6 mb

Last updated

Was this helpful?