codec_is_available: Check whether a compression codec is available

View source: R/compression.R

codec_is_availableR Documentation

Check whether a compression codec is available

Description

Support for compression libraries depends on the build-time settings of the Arrow C++ library. This function lets you know which are available for use.

Usage

codec_is_available(type)

Arguments

type

A string, one of "uncompressed", "snappy", "gzip", "brotli", "zstd", "lz4", "lzo", or "bz2", case insensitive.

Value

Logical: is type available?

Examples

codec_is_available("gzip")

arrow documentation built on Dec. 6, 2022, 5:10 p.m.