Learn R Programming

myClim (version 1.4.0)

mc_save: Save myClim object

Description

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.

Usage

mc_save(data, file)

Value

RDS file saved at the output path destination

Arguments

data

myClim object see myClim-package

file

path to output .rds file

Examples

Run this code
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