input_to_raw: input_to_raw

View source: R/input_to_raw.R

input_to_rawR Documentation

input_to_raw

Description

Convert input to a length-1 character vector.

Usage

input_to_raw(input)

Arguments

input

Character vector length 1

Details

If input is a reference to a file, the number of bytes corresponding to the size is read. If it is an URL, the URL is read and converted to a 'Raw' vector. The function does not catch errors.

Value

'Raw' vector


RBaseX documentation built on Dec. 2, 2022, 5:10 p.m.

Related to input_to_raw in RBaseX...