yaml: YAML Utilities

Description Usage Arguments

Description

YAML Utilities

Usage

1
2
3
write.yaml(x, file, append = FALSE, ..., .metaheader = TRUE)

read.yaml(input, ...)

Arguments

x

the object to be converted

file

A connection, or a character string naming the file to write to. If "", print to the standard output connection. If it is "|cmd", the output is piped to the command given by ‘cmd’.

append

if TRUE the data x are appended to the connection.

...

arguments to pass to yaml.load

.metaheader

logical that indicates if a metadata header tha includes date time, SHA and CLIR version number should be added as leading comments.

Can also be a character vector, which is then written "as is", one element per line (each line is prefixed with a "#").

input

a filename or connection


renozao/CLIR documentation built on May 27, 2019, 5:52 a.m.