Gets the root path to the file cache directory.

# Default S3 method
getCacheRootPath(defaultPath=NULL, ...)

Arguments

defaultPath

The default path, if no user-specified directory has been given.

...

Not used.

Value

Returns the path as a character string.

Author

Henrik Bengtsson

See also

Too set the directory where cache files are stored, see setCacheRootPath().

Examples

  print(getCacheRootPath())
#> [1] "/cluster-data/user-homes/elizabethb/.cache/R/R.cache"