mindat_cache_set {OpenMindat}R Documentation

Set cache name and value

Description

Assigns the value to the cache named varname in current environment.

Usage

mindat_cache_set(varname, value)

Arguments

varname

string. The cached varname.

value

string.

Value

No return value. The value will be cached in memory, and the cached value can be fetched by calling the function mindat_cache_get with the assigned varname.

Examples

mindat_cache_set('api_token',"9ce67655d74bcd981e937be80dcea9cb")

[Package OpenMindat version 1.0.0 Index]