yaml-package {yaml}R Documentation

Methods to convert R to YAML and back

Description

This package implements the Syck YAML parser for R. There are also methods to convert R objects into YAML.

Details

Package: yaml
Type: Package
Version: 1.1.0
Date: 2009-09-11
License: BSD

Use as.yaml to convert R objects into YAML and yaml.load or yaml.load_file to parse YAML into R objects.

Author(s)

Jeremy Stephens <jeremy.stephens@vanderbilt.edu>

References

YAML: http://yaml.org

Syck YAML Parser: (formerly) http://whytheluckystiff.net/syck/

Examples

  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_file("foo.yml")
## End(Not run)

[Package yaml version 1.1.0 Index]