R.cache (version 0.16.0)

generateCache: Generates a cache pathname from a key object

Description

Generates a cache pathname from a key object.

Usage

# S3 method for default
generateCache(key, suffix=".Rcache", ...)

Value

Returns the pathname as a character string.

Arguments

key

A list or an environment from which a character string checksum will be calculated and that will constitute the name part of the cache filename.

suffix

A character string to be appended to the end of the filename.

...

Arguments passed to getCachePath().

Author

Henrik Bengtsson

See Also

findCache(). Internally, the generic function getChecksum() is used to calculate the checksum of argument key.