powered by
Sets the directory where downloaded files will be cached. This avoids repeated downloads of the same data.
set_cache_dir(path = NULL, persistent = FALSE)
Invisibly returns the cache directory path.
A character string with the path to the cache directory. If NULL, uses a temporary directory (default).
NULL
Logical. If TRUE, the cache directory setting is saved to the user's R profile for future sessions.
TRUE
if (FALSE) { # set a custom cache directory (use tempdir() in examples) set_cache_dir(file.path(tempdir(), "educabR_cache")) }
Run the code above in your browser using DataLab