v_caching.Rd
By default, fivbvis starts with session-specific caching (equivalent to running v_caching(TRUE); v_cache_dir("session")
).
v_caching(caching) v_cache_dir(cache_dir)
caching | logical or string: if |
---|---|
cache_dir | string: either
|
The caching setting (for v_caching
) or cache directory (for v_cache_dir
) after applying any provided parameters
v_caching(TRUE) ## turn caching on v_caching(FALSE) ## turn caching off v_caching("refresh") ## contents in cache will be updated v_cache_dir() ## return current cache dir#> [1] "/tmp/Rtmplbg5ld/file5e117ff073c9"if (FALSE) { v_cache_dir("session") ## use per-session cache v_cache_dir("user") ## use persistent, user-specific cache v_cache_dir("c:/my/cache/dir") ## use specific dir }