Learn R Programming

rlang (version 0.2.1)

as_bytes: Coerce to a raw vector

Description

This currently only works with strings, and returns its hexadecimal representation.

Usage

as_bytes(x)

Arguments

x

A string.

Value

A raw vector of bytes.

Life cycle

Raw vector functions are experimental.