Description Usage Arguments Examples
Google Cloud Storage Cache Google Cloud Storage backed cache, for remote caching.
1 2 3 4 5 |
cache_name |
Bucket name for storing cache files. |
algo |
The hashing algorithm used for the cache, see
|
compress |
Argument passed to |
1 2 3 4 5 6 7 8 9 10 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.