Identify a file path to be used as a text source for a subsequent call to
ore_search
.
ore_file(path, encoding = getOption("ore.encoding"), binary = FALSE)
A string of class "orefile"
, with the encoding
and
binary
arguments stored as attributes.
A character string giving the file path.
A character string giving the encoding of the file. This
should match the encoding of the regular expression used in a call to
ore_search
.
A logical value: if TRUE
, the file will be search
bytewise, and encoding
will be fixed to be "ASCII"
.
ore_search
for actually searching through the file.