- Notifications
You must be signed in to change notification settings - Fork39
R package for converting objects to and from YAML
License
Unknown, Unknown licenses found
Licenses found
Unknown
LICENSEUnknown
COPYINGNotificationsYou must be signed in to change notification settings
r-lib/yaml
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
yaml provides R bindings tolibyaml,a fastYAML parser and emitter.
Install from CRAN:
install.packages("yaml")Or install the development version from GitHub:
# install.packages("pak")pak::pak("r-lib/r-yaml")
library(yaml)Parse YAML withyaml.load() orread_yaml():
yaml.load("- 1- 2- 3")#> [1] 1 2 3yaml.load("a: 1b: 2")#> $a#> [1] 1#>#> $b#> [1] 2
Convert R objects to YAML withas.yaml() orwrite_yaml():
cat(as.yaml(list(a=1:3,b=4:6)))#> a:#> - 1#> - 2#> - 3#> b:#> - 4#> - 5#> - 6
Seevignette("yaml") for more details on handlers, formatting options,and advanced usage.
About
R package for converting objects to and from YAML
Topics
Resources
License
Unknown, Unknown licenses found
Licenses found
Unknown
LICENSEUnknown
COPYINGUh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.