When saveRDS is called and you are not using a connection, the compression value remains at the default for the underlying connection (i.e. 6 for gzfile, 9 for bzfile, 6 for xzfile and 9 for zstdfile). It would be convenient to be able to pass these values directly to saveRDS without setting up a connection directly.
When
saveRDSis called and you are not using a connection, the compression value remains at the default for the underlying connection (i.e. 6 forgzfile, 9 forbzfile, 6 forxzfileand 9 forzstdfile). It would be convenient to be able to pass these values directly tosaveRDSwithout setting up a connection directly.