Skip to contents

Configure offline storage

Usage

setup_offline_storage(dir = "/opt/data", persist_data = FALSE)

Arguments

dir

(string) The directory to be used for offline storage. Default is "/opt/data".

persist_data

(boolean) If TRUE, the downloaded files will persist indefinitely. If FALSE, they will not persist after the session ends. Default is FALSE.

Value

Copies the storage.yml file to the working directory and configures it with the specified directory and persistence settings. Alternatively, the file can be edited directly.

Examples

if (FALSE) { # \dontrun{

setup_offline_storage(dir = "/path/to/data", persist_data = TRUE)
} # }