Use a cache on the local filesystem that will persist between R sessions.
Directory in which to store cached items.
The hashing algorithm used for the cache, see
option passed to
This function differs from
memoise::cache_filesystem in a number of ways:
use a tempdir if none specified
absolute path Full absolute path to cache is stored, even if initialised with a relative path
compression By default objects are compressed using gzip compression.
timestamping Each get/set to the cache is timestamped so that the last access time for every cached object is known
expiry The addition of timestamps allows for expiring objects older
than a certain age. See the function
faster key lookup the
has_key method now uses the timestamp cache
to determine if a given key exists or not. This makes it faster
to check if a key exists, but will cause an error if they file doesn't
actually exist on the filesystem (e.g. if you've deleted the file manually)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.