data.table::setDTthreads(2)
a <- Cache(rnorm, 1)
# like with Cache, user can pass function and args in a few ways
CacheDigest(rnorm(1)) # shows same cacheId as previous line
CacheDigest(rnorm, 1) # shows same cacheId as previous line
Run the code above in your browser using DataLab