# NOT RUN {
# reading from a file connection
con <- file("data.yml", "w")
read_yaml(con)
# using a filename to specify input file
read_yaml("data.yml")
# }
# NOT RUN {
# reading from a character vector
read_yaml(text="- hey\n- hi\n- hello")
# }
Run the code above in your browser using DataCamp Workspace