tests/getCachePath.R

library("R.cache")

root <- getCacheRootPath()
print(root)

path <- getCachePath(dirs=c("abc", "def"))
print(path)

path <- getCachePath(dirs=c("abc", "def"), path="subdir")
print(path)

Try the R.cache package in your browser

Any scripts or data that you put into this service are public.

R.cache documentation built on July 21, 2022, 5:11 p.m.