Google Cloud Storage Cache Google Cloud Storage backed cache, for remote caching.
Google Cloud Storage Cache Google Cloud Storage backed cache, for remote caching.
cache_gcs( cache_name = googleCloudStorageR::gcs_get_global_bucket(), algo = "sha512", compress = FALSE )
cache_name |
Bucket name for storing cache files. |
algo |
The hashing algorithm used for the cache, see
|
compress |
Argument passed to |
## Not run:
library(googleCloudStorageR)
# Set GCS credentials.
Sys.setenv("GCS_AUTH_FILE"="<google-service-json>",
"GCS_DEFAULT_BUCKET"="unique-bucket-name")
gcs <- cache_gcs("unique-bucket-name")
mem_runif <- memoise(runif, cache = gcs)
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.