loadCaches.RdThis function just takes a list of caches, and loads them. It's designed for stuff you already cached previously, so it won't build any caches.
loadCaches(cacheNames, loadEnvir = NULL, ...)
| cacheNames | Vector of caches to load. |
|---|---|
| loadEnvir | Environment into which to load each cache. |
| ... | Additional parameters passed to simpleCache. |
#> [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().