ursa_cache: Cache management of ursa package

ursa_cacheR Documentation

Cache management of ursa package

Description

This help topic is about how cache is managed in the package.

Usage

ursa_cache()

Details

Users, who want to keep cache files between R sessions, should define option with name ursaCacheDir and value of the path for storage of cache files. This setting can be specified if ~/.Rprofile file, or be in your code. If you specify permanent cache directory as sub-directory of tempdir() (see example), it will be removed after finishing of R session.

Value

NULL

Note

There is no neccessary to call this function. It just defines this help topic.

Author(s)

Nikita Platonov platonov@sevin.ru

Examples

 ## internet connection is required
options(ursaCacheDir=file.path(tempdir(),".ursaCacheDir"))
print(c(tempdir=tempdir(),ursaCacheDir=getOption("ursaCacheDir")))
glance("Mount Eden",place="park")
dir(getOption("ursaCacheDir"))

ursa documentation built on Dec. 28, 2022, 2:18 a.m.