# yaml

> R bindings to libyaml for reading and writing YAML

Source: https://talira.ai/catalog/yaml-qzmz4q7c
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / yaml](https://talira.ai/categories/developer-tools/parsing/yaml), [languages / r](https://talira.ai/categories/languages/r)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [R infrastructure (r-lib)](https://talira.ai/orgs/r-lib.md)

yaml is the R package for converting R data to YAML and back. It binds the libyaml YAML 1.1 parser and emitter: `yaml.load()` and `read_yaml()` parse YAML into R lists and vectors, and `as.yaml()` and `write_yaml()` write R objects out, with handlers for custom tags and options for formatting.

## Links

- Website: https://yaml.r-lib.org/
- GitHub: https://github.com/r-lib/yaml
- Docs: https://yaml.r-lib.org/

## Problems it solves

- read a YAML config file into my R script
- write R data out as YAML
- load an R Markdown or Shiny app config written in YAML

## Features

- parse YAML strings and files into R objects
- write R lists, vectors and data frames as YAML
- custom handlers for YAML tags
- based on the libyaml YAML 1.1 parser and emitter

## Trust

Overall: 0.29 out of 1.
Signals: maintenance 0.27, adoption 0.45, momentum 0.07, community 0.56, backing 0.30, extensibility 0.00.

- latest release v2.3.9 2.4 years ago
- 170 GitHub stars
- 24 contributors
- backed by R infrastructure (r-lib)

Warnings:

- last commit 11 months ago

## Sources

[^1]: https://github.com/r-lib/yaml/blob/main/DESCRIPTION (checked 28 Nov 2026)
[^2]: https://github.com/r-lib/yaml/blob/main/LICENSE (checked 28 Nov 2026)
