Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stri_read_raw

Read Text File as Raw


Description

Reads a text file as-is, with no conversion or text line splitting.

Usage

stri_read_raw(con, fname = con)

Arguments

con

name of the output file or a connection object (opened in the binary mode)

fname

deprecated alias of con

Details

Once a text file is read into memory, encoding detection (see stri_enc_detect), conversion (see stri_encode), and/or splitting of text into lines (see stri_split_lines1) can be performed.

Value

Returns a vector of type raw.

See Also


stringi

Character String Processing Facilities

v1.6.1
file LICENSE
Authors
Marek Gagolewski [aut, cre, cph] (<https://orcid.org/0000-0003-0637-6028>), Bartek Tartanus [ctb], and others (stringi source code); IBM, Unicode, Inc. and others (ICU4C source code, Unicode Character Database)
Initial release
2021-05-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.