powered by
Make a new drake cache.
new_cache(path = drake::default_cache_path(), type = drake::default_cache_type(), short_hash_algo = drake::default_short_hash_algo(), long_hash_algo = drake::default_long_hash_algo())
file path to 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()
default_short_hash_algo, default_long_hash_algo, make, cache_types
default_short_hash_algo
default_long_hash_algo
make
cache_types
# NOT RUN { cache1 <- new_cache() # Creates a new hidden '.drake' folder. cache2 <- new_cache(path = "not_hidden", short_hash_algo = "md5") # }
Run the code above in your browser using DataLab