saveEnvi function

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

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

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

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)
  • Maintainer: Chris Reudenbach
  • License: GPL (>= 3) | file LICENSE
  • Last published: 2024-10-28