listCaches.Rd
Lists any cache files in the cache directory.
listCaches(cacheSubDir = "")
cacheSubDir | Optional parameter to specify a subdirectory of the cache folder. |
---|
character
vector in which each element is the path to a file that
represents an available cache (within getOption("RCACHE.DIR")
)
#> [1] "/tmp/RtmpnwNyJo"setCacheDir(cacheDir) # build some caches simpleCache("normSample", { rnorm(5e3, 0,1) }, recreate=TRUE, timer=TRUE)#>#>#>#>#>#> NULL# what's available? listCaches()#> [1] "normSample.RData"#>#>#>#> Error in doTryCatch(return(expr), name, parentenv, handler): ::Error:: If you do not provide an instruction argument, you must setglobal option RBUILD.DIR with setCacheBuildDir, or specify a buildDirparameter directly to simpleCache().