enviLoad: Load data from rds format and associated yaml metadata file.

Description Usage Arguments Value Examples

View source: R/enviLoad.R

Description

Load data from rds format and associated yaml metadata file.

Usage

1
enviLoad(file_path)

Arguments

file_path

name and path of the rds file.

Value

list of 2 containing data and metadata.

Examples

1
2
3
4
5
6
7
## Not run: 
a <- 1
meta <- list(a = "a is a variable")
enviSave(a, file.path(tempdir(), "test.rds"), meta)
b <- enviLoad(file.path(tempdir(), "test.rds"))

## End(Not run)

envima/envimaR documentation built on July 18, 2021, 1:40 p.m.