Description Usage Arguments Examples
View source: R/makeCachedActiveBinding.R
Like makeActiveBinding
but the value of the active
binding gets only evaluated once and is "remembered".
1 | makeCachedActiveBinding(sym, fun, env = .GlobalEnv, verbose = FALSE)
|
sym |
See |
fun |
See |
env |
See |
verbose |
Set to TRUE to see caching in action (useful for troubleshooting). |
1 2 3 | makeCachedActiveBinding("x", function() runif(1), verbose=TRUE)
x
x
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.