cache: Cache a Resultset

Description Usage Arguments Value See Also

View source: R/cache.R

Description

Cache a resultset with the SQL Statement as the key to a "fantasia" cache directory using a wrapper around the saveCache function.

Cache a resultset with the SQL Statement as the key to a "fantasia" cache directory using a wrapper around the saveCache function.

Usage

1
2
3
cache(object, sql_statement, dirs)

cache(object, sql_statement, dirs)

Arguments

object

R object to cache.

sql_statement

SQL Statement from which a hexadecimal hash code will be generated and appended to the cache filename.

dirs

Argument passed to saveCache.

Value

Invisibly returns the path to the cache file.

Invisibly returns the path to the cache file.

See Also

Other cache functions: loadCache(), load_cache()

Other cache functions: loadCache(), load_cache()


patelm9/pg13 documentation built on Dec. 26, 2021, 8:17 p.m.