Learn R Programming

R4GoodPersonalFinances (version 1.2.0)

get_cache_info: Working with cache

Description

Get information about the cache

Reset the cache

Set the cache directory

Usage

get_cache_info()

reset_cache()

set_cache(path = file.path(getwd(), ".cache"))

Value

Invisibly returns the path to the cache directory or a list containing:

path

The path to the cache directory.

files

The number of files in the cache.

Arguments

path

The path to the cache directory. Defaults to the '.cache' folder in the current working directory.

Examples

Run this code
if (FALSE) { # interactive()
get_cache_info()
}
if (FALSE) { # interactive()
reset_cache()
}
if (FALSE) { # interactive()
set_cache()
}

Run the code above in your browser using DataLab