Learn R Programming

ymlthis (version 0.1.7)

yml_load: Load YAML from string

Description

yml_load() is a wrapper for yaml::yaml.load() that also converts the object to the yml class.

Usage

yml_load(x)

Arguments

x

an object to pass to yaml::yaml.load()

Examples

Run this code
c("title: my title", "author: Malcolm Barrett") %>%
  yml_load()

Run the code above in your browser using DataLab