Learn R Programming

fred (version 0.3.1)

clear_cache: Clear the fred cache

Description

Deletes all locally cached FRED data files. The next call to any data function will re-download from the FRED API.

Usage

clear_cache()

Arguments

Value

Invisible NULL.

See Also

Other configuration: fred_cache_info(), fred_get_key(), fred_request(), fred_set_key()

Examples

Run this code
# \donttest{
op <- options(fred.cache_dir = tempdir())
clear_cache()
options(op)
# }

Run the code above in your browser using DataLab