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)
variable
: name of the data variable to be saved.file_path
: name and path of the rds file.meta
: name of the metadata list.## Not run: a <- 1 meta <- list(a = 'a is a variable') saveEnvi(a, file.path(tempdir(), 'test.rds'), meta) ## End(Not run)
Useful links