Skip to content
Prev 380137 / 398500 Next

Object and file sizes

On 28/06/2019 7:35 a.m., G?ran Brostr?m wrote:
saveRDS() uses compression by default.  Compression works best if there 
are a lot of repetitive values; every NA is the same, so that would help 
  compression.  Other values may also be repeated.

If you use saveRDS(compress=FALSE), you'll get much larger results, 
probably roughly proportional to the object.size() results.

Duncan Murdoch