| yaml-package {yaml} | R Documentation |
This package implements the Syck YAML parser for R. There are also methods to convert R objects into YAML.
| Package: | yaml |
| Type: | Package |
| Version: | 1.0 |
| Date: | 2007-04-16 |
| License: | BSD |
Use as.yaml to convert R objects into YAML and yaml.load to parse
YAML strings into R objects.
Jeremy Stephens <jeremy.stephens@vanderbilt.edu>
YAML: http://yaml.org
Syck YAML Parser: http://whytheluckystiff.net/syck/
x <- data.frame(a=sample(1:100, 10), b=sample(letters, 10))
as.yaml(x)
yaml.load("foo: bar\njunk:\n - stuff\n - blah")
## Not run:
yaml.load(readLines("foo.yml"))
## End(Not run)