powered by
Load an existing drake cache if it exists and create a new one otherwise.
recover_cache(path = NULL, type = drake::default_cache_type(), short_hash_algo = default_short_hash_algo(), long_hash_algo = default_long_hash_algo())
file path of the cache
character scalar, type of the drake cache. Must be among the list of supported caches in cache_types().
cache_types()
short hash algorithm for the cache. See default_short_hash_algo() and make()
default_short_hash_algo()
make()
long hash algorithm for the cache. See default_long_hash_algo() and make()
default_long_hash_algo()
new_cache, this_cache, get_cache
new_cache
this_cache
get_cache
# NOT RUN { load_basic_example() make(my_plan) x <- recover_cache(".drake") # }
Run the code above in your browser using DataLab