Learn R Programming

OpenMindat (version 1.0.0)

mindat_cache_set: Set cache name and value

Description

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

Usage

mindat_cache_set(varname, value)

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.

Arguments

varname

string. The cached varname.

value

string.

Examples

Run this code
mindat_cache_set('api_token',"9ce67655d74bcd981e937be80dcea9cb")

Run the code above in your browser using DataLab