find.dictionaries {SemNetDictionaries} | R Documentation |
Finds Names and Locations of Appendix Dictionaries
Description
A wrapper function to identify the save location
of appendix dictionaries from append.dictionary
Usage
find.dictionaries(..., add.path = NULL)
Arguments
... |
Vector.
Appendix dictionary files names (if they are known).
If left empty, the function will search across
all files for files in folders on your desktop
that end in |
add.path |
Character.
Path to additional dictionaries to be found.
DOES NOT search recursively (through all folders in path)
to avoid time intensive search.
Set to |
Value
names |
Returns the names of the appendix dictionary file(s) found on your computer |
files |
Returns the dictionary file(s) that are stored in each given path. If there is no output
(e.g., |
Author(s)
Alexander Christensen <alexpaulchristensen@gmail.com>
See Also
append.dictionary
to create a new dictionary,
dictionaries
to identify dictionaries in
SemNetDictionaries
, and
load.dictionaries
to load multiple dictionaries
Examples
# Make a dictionary
example.dictionary <- append.dictionary(c("words","are","fun"), save.location = "envir")
# Dictionary can now be found
find.dictionaries("example")
# No appendix dictionaries found
find.dictionaries()
# For your computer's timing to complete search
t0 <- Sys.time()
find.dictionaries()
Sys.time() - t0