ore_file {ore} | R Documentation |
Use a file as a text source
Description
Identify a file path to be used as a text source for a subsequent call to
ore_search
.
Usage
ore_file(path, encoding = getOption("ore.encoding"), binary = FALSE)
Arguments
path |
A character string giving the file path. |
encoding |
A character string giving the encoding of the file. This
should match the encoding of the regular expression used in a call to
|
binary |
A logical value: if |
Value
A string of class "orefile"
, with the encoding
and
binary
arguments stored as attributes.
See Also
ore_search
for actually searching through the file.
[Package ore version 1.7.4.1 Index]