write_rules | R Documentation |
Read and write rules to a yaml file
write_rules(x, file)
read_rules(file)
x |
a list of rules |
file |
a filename |
the filename invisibly
read_rules()
: reads a ruleset back in
rr <- ruleset(
rule(mpg > 10),
rule(cyl %in% c(4, 6, 8))
)
file <- tempfile(fileext = ".yml")
write_rules(rr, file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.