Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getCachePath

Gets the path to the file cache directory


Description

Gets the path to the file cache directory. If missing, the directory is created.

Usage

## Default S3 method:
getCachePath(dirs=NULL, path=NULL, rootPath=getCacheRootPath(), ...)

Arguments

dirs

A character vector constituting the path to the cache subdirectory (of the cache root directory as returned by getCacheRootPath()) to be used. If NULL, the path will be the cache root path.

path, rootPath

(Advanced) character strings specifying the explicit/default cache path and root cache path.

...

Not used.

Value

Returns the path as a character string.

Author(s)

Henrik Bengtsson

See Also


R.cache

Fast and Light-Weight Caching (Memoization) of Objects and Results to Speed Up Computations

v0.15.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.