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 May 30, 2017, 3 a.m.