Learn R Programming

ProjectTemplate (version 0.11.0)

.cache.filename: Construct the file names for the cache and hash

Description

Construct the file names for the cache and hash

Usage

.cache.filename(variable, cache_format)

Value

A list with file names

Arguments

variable

Variable name for which to construct file names

cache_format

expression as returned by .cache.format

Details

The returned object is a list with two fields:

  • data: The path to the file in which the variable contents will be saved;

  • hash: The path to the file in which the cache metadata will be stored.