Skip to contents

Retrieve a format definition by name from the registry.

Usage

get_sink_format(name)

Arguments

name

Character string naming the format

Value

List with writer, reader, ext, and atomic fields, or NULL if not found

Examples

fmt <- get_sink_format("rds")
if (!is.null(fmt)) {
  fmt$writer(mtcars, tempfile())
}