powered by
This function was designed for saving the myClim data object to an .rds file, which can be later correctly loaded by any further version of myClim package with mc_load. This is the safest way how to store and share your myClim data.
mc_save(data, file)
RDS file saved at the output path destination
myClim object see myClim-package
path to output .rds file
tmp_dir <- tempdir() tmp_file <- tempfile(tmpdir = tmp_dir) mc_save(mc_data_example_agg, tmp_file) file.remove(tmp_file)
Run the code above in your browser using DataLab