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 Sept. 11, 2024, 8:02 p.m.