Reads a text file as-is, with no conversion or text line splitting.
stri_read_raw(con, fname = con)
Returns a vector of type raw
.
name of the output file or a connection object (opened in the binary mode)
[DEPRECATED] alias of con
Marek Gagolewski and other contributors
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.
The official online manual of stringi at https://stringi.gagolewski.com/
Gagolewski M., stringi: Fast and portable character string processing in R, Journal of Statistical Software 103(2), 2022, 1-59, tools:::Rd_expr_doi("10.18637/jss.v103.i02")
Other files:
stri_read_lines()
,
stri_write_lines()