Converts a file saved in the RDS format to the qs2 format.
Usage
rds_to_qs(input_file, output_file, compress_level = 3)
Arguments
- input_file
The RDS file to convert.
- output_file
The qs2 file to write.
- compress_level
The zstd compression level to use when writing the qs2 file. See the qs_save help file for more details on this parameter.
Value
No value is returned. The converted file is written to disk.
Details
rds_to_qs() currently supports only gzip-compressed RDS input files.
Files that are uncompressed or use another compression format are rejected.
The shuffle parameter is currently not supported when converting from RDS to qs2.