View source: R/survstat-backend.R
| set_cache_settings | R Documentation |
rsurvstat cacheBy default successful requests to SurvStat are cached for 7 days to prevent
repeated querying of the service. This is stored in the usual R package cache
location by default (e.g. "~/.cache/rsurvstat" on mac / linux). Caching can
be switched off altogether.
set_cache_settings(..., active = NULL, dir = NULL, stale = NULL)
... |
you can also submit the settings as a named list. |
active |
boolean (optional), set to FALSE to disable caching |
dir |
file path (optional), the location of the cache |
stale |
numeric (optional), the number of days before a cached item is considered out of date |
the old cache settings as a list
old_settings = set_cache_settings(active = FALSE)
set_cache_settings(old_settings)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.