Learn R Programming

myClim (version 1.4.0)

mc_load: Load myClim object

Description

This function loads the myClim .rds data object saved with mc_save. The mc_save and mc_load functions secure that the myClim object is correctly loaded across myClim versions.

Usage

mc_load(file)

Value

loaded myClim object

Arguments

file

path to input .rds file. If value is vector of files, myClim objects are merged with function mc_prep_merge. If path is directory, then all .rds files are used.

Examples

Run this code
tmp_dir <- tempdir()
tmp_file <- tempfile(tmpdir = tmp_dir)
mc_save(mc_data_example_agg, tmp_file)
data <- mc_load(tmp_file)
file.remove(tmp_file)

Run the code above in your browser using DataLab