Description Usage Arguments Details Examples
cache_call
returns a function call or retrieves a value stored in a
cache in order to speed up shiny apps.
1 2 3 4 5 6 7 8 9 |
fn |
A function to call if the value is not cached |
cache |
A reactiveValues object to serve as a cache storage |
cache_params |
Named list of parameters to pass on to fn. These parameters will identify the cached object. |
non_cache_params |
Named list of parameters to pass on to fn without affecting the identity of the cached item. |
prefix |
A prefix to add to the hash of a cached object. Serves the purpose of allowing users to more easily identify cached objects. |
cache_depends |
Extra object that affects the identity of an object. |
custom_id |
Use a custom id instead of a hash generated by cache_params and cache_depends |
This function identifies a value based on the parameters passed on to a function, a prefix and extra objects the user decides to use. This function uses reactiveValues to create a hash dictionary from which to retrieve previously executed funtions.
1 2 3 4 5 6 7 8 9 10 11 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.