Learn R Programming

reproducible (version 0.1.4)

.cacheMessage: Create a custom cache message by class

Description

This is a generic definition that can be extended according to class.

Usage

.cacheMessage(object, functionName)

# S4 method for ANY .cacheMessage(object, functionName)

Arguments

object

Any R object.

functionName

A character string indicating the function name

Value

Nothing; called for its messaging side effect.

Examples

Run this code
# NOT RUN {
a <- 1
.cacheMessage(a, "mean")

# }

Run the code above in your browser using DataLab