Learn R Programming

gutenbergr (version 0.4.0)

gutenberg_cache_remove_ids: Delete specific files from the cache

Description

Delete specific files from the cache

Usage

gutenberg_cache_remove_ids(ids, verbose = TRUE)

Value

The number of files successfully deleted (invisibly).

Arguments

ids

A numeric or character vector of Gutenberg IDs to remove from the current cache.

verbose

Whether to show the status messages.

Examples

Run this code
if (FALSE) { # interactive()
# Remove specific books from cache
gutenberg_cache_remove_ids(c(1, 2))

# Remove silently
gutenberg_cache_remove_ids(1, verbose = FALSE)
}

Run the code above in your browser using DataLab