Getter and setter methods for caches in RapData and RapResults object.
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)
ANY
or NULL
depends on y
argument.
RapData
or RapResults
object
character
hash.
if ANY
this object gets cached with name, else if
missing
the object hashed at name gets returned.