Learn R Programming

raptr (version 0.0.3)

cache: Get and set cache Methods

Description

Getter and setter methods for caches in RapData and RapResults object.

Usage

cache(x, name, y)

# S4 method for RapData,character,ANY cache(x, name, y)

# S4 method for RapData,character,missing cache(x, name, y)

# S4 method for RapResults,character,ANY cache(x, name, y)

# S4 method for RapResults,character,missing cache(x, name, y)

Arguments

x

RapData or RapResults object

name

character hash.

y

if ANY this object gets cached with name, else if missing the object hashed at name gets returned.

Value

ANY or NULL depends on y argument.