Skip to contents

Removes a single dictionary from the user-level cache directory. This is a selective alternative to clear_dictionary_cache, which removes all cached dictionaries.

Usage

remove_cached_dictionary(name)

Arguments

name

Character. Dictionary name (e.g., "global_surnames").

Value

The file path(s) of the removed cache file(s), invisibly. NULL if the dictionary was not cached.

See also

clear_dictionary_cache to remove all cached dictionaries, load_dictionary for the cache parameter.

Examples

if (FALSE) { # \dontrun{
# Remove a single cached dictionary
remove_cached_dictionary("global_surnames")

# Remove an on-demand dictionary you no longer need
remove_cached_dictionary("organisms")
} # }