Learn R Programming

drake (version 7.5.2)

recover_cache: Deprecated. Load an existing drake files system cache if it exists or create a new one otherwise.

Description

Deprecated on 2019-01-13.

Usage

recover_cache(path = NULL, hash_algorithm = NULL,
  short_hash_algo = NULL, long_hash_algo = NULL, force = FALSE,
  verbose = 1L, fetch_cache = NULL, console_log_file = NULL)

Arguments

path

File path of the cache.

hash_algorithm

Name of a hash algorithm to use. See the algo argument of the digest package for your options.

short_hash_algo

Deprecated on 2018-12-12. Use hash_algorithm instead.

long_hash_algo

Deprecated on 2018-12-12. Use hash_algorithm instead.

force

Logical, whether to load the cache despite any back compatibility issues with the running version of drake.

verbose

Integer, control printing to the console/terminal.

  • 0: print nothing.

  • 1: print targets, retries, and failures.

  • 2: also show a spinner when preprocessing tasks are underway.

fetch_cache

Deprecated.

console_log_file

Optional character scalar of a file name or connection object (such as stdout()) to dump maximally verbose log information for make() and other functions (all functions that accept a config argument, plus drake_config()). If you choose to use a text file as the console log, it will persist over multiple function calls until you delete it manually. Fields in each row the log file, from left to right: - The node name (short host name) of the computer (from Sys.info()["nodename"]). - The process ID (from Sys.getpid()). - A timestamp with the date and time (in microseconds). - A brief description of what drake was doing. The fields are separated by pipe symbols ("|"`).

Value

A drake/storr cache.

Details

Does not work with in-memory caches such as storr_environment().

See Also

new_cache(), get_cache()