save_yaml | R Documentation |
Write named list to file
save_yaml(x, file, ..., sorted = FALSE)
x |
a named list, |
file, ... |
passed to |
sorted |
whether to sort the results by name; default is false |
Normalized file path
fastmap2
, load_yaml
,
read_yaml
, write_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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.