saveEnvi: Saves data in rds format and adds a yaml metadata file.

View source: R/initProj.R

saveEnviR Documentation

Saves data in rds format and adds a yaml metadata file.

Description

Saves data in rds format and saves metadata in a corresponding yaml file.

Usage

saveEnvi(variable, file_path, meta)

Arguments

variable

name of the data variable to be saved.

file_path

name and path of the rds file.

meta

name of the metadata list.

Examples

## Not run: 
a <- 1
meta <- list(a = 'a is a variable')
saveEnvi(a, file.path(tempdir(), 'test.rds'), meta)

## End(Not run)


link2GI documentation built on Oct. 28, 2024, 5:06 p.m.