powered by
Write named list to file
save_yaml(x, file, ..., sorted = FALSE)
Normalized file path
a named list, fastmap2, or anything that can be transformed into named list via as.list
fastmap2
as.list
passed to write_yaml
write_yaml
whether to sort the results by name; default is false
fastmap2, load_yaml, read_yaml, write_yaml
load_yaml
read_yaml
x <- list(a = 1, b = 2) f <- tempfile() save_yaml(x, f) load_yaml(f) map <- dipsaus::fastmap2(missing_default = NA) map$c <- 'lol' load_yaml(f, map = map) map$a map$d
Run the code above in your browser using DataLab